[INFO] fetching crate windows-webview2 0.1.0... [INFO] checking windows-webview2-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate windows-webview2 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate windows-webview2 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-webview2 0.1.0 [INFO] finished tweaking crates.io crate windows-webview2 0.1.0 [INFO] tweaked toml for crates.io crate windows-webview2 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding const-sha1 v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows v0.7.0 (latest: v0.58.0) [INFO] [stderr] Adding windows_gen v0.7.0 (latest: v0.31.0) [INFO] [stderr] Adding windows_macros v0.7.0 (latest: v0.31.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows v0.7.0 [INFO] [stderr] Downloaded squote v0.1.2 [INFO] [stderr] Downloaded windows_macros v0.7.0 [INFO] [stderr] Downloaded windows_gen v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6f2eaaa7089ef5d3e8115cd50c502e092fc28c11703684f14292565412757f3 [INFO] running `Command { std: "docker" "start" "-a" "e6f2eaaa7089ef5d3e8115cd50c502e092fc28c11703684f14292565412757f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6f2eaaa7089ef5d3e8115cd50c502e092fc28c11703684f14292565412757f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f2eaaa7089ef5d3e8115cd50c502e092fc28c11703684f14292565412757f3", kill_on_drop: false }` [INFO] [stdout] e6f2eaaa7089ef5d3e8115cd50c502e092fc28c11703684f14292565412757f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27a03d52771eb4cbd96495d87d79de18229f1af91ac44249680e9c1078567f17 [INFO] running `Command { std: "docker" "start" "-a" "27a03d52771eb4cbd96495d87d79de18229f1af91ac44249680e9c1078567f17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling squote v0.1.2 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking windows_gen v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling windows_macros v0.7.0 [INFO] [stderr] Compiling windows v0.7.0 [INFO] [stderr] Compiling windows-webview2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `WEBVIEW2_NAME` is never used [INFO] [stdout] --> build.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | const WEBVIEW2_NAME: &str = "Microsoft.Web.WebView2"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEBVIEW2_VERSION` is never used [INFO] [stdout] --> build.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | const WEBVIEW2_VERSION: &str = "1.0.824-prerelease"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> build.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn install() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_manifest_dir` is never used [INFO] [stdout] --> build.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_manifest_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_nuget_dir` is never used [INFO] [stdout] --> build.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | fn check_nuget_dir(install_root: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_windows` is never used [INFO] [stdout] --> build.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn update_windows(package_root: PathBuf) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_workspace_dir` is never used [INFO] [stdout] --> build.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | fn get_workspace_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace_root` is never read [INFO] [stdout] --> build.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 159 | struct CargoMetadata { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 160 | workspace_root: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MissingPath` is never constructed [INFO] [stdout] --> build.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 181 | MissingPath(PathBuf), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [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/windows-webview2-8dfd0a65fa7dde2f/out/windows.rs:1:374104 [INFO] [stdout] | [INFO] [stdout] 1 | ...( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( thi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Microsoft { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Web { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WebView2 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Core { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2 ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2 { type Vtable = ICoreWebView2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4233890675 ,2224 ,22993 , [ 166 ,69 ,228 ,194 ,72 ,135 ,254 ,249 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uri : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , htmlcontent : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , javascript : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , id : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , javascript : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imageformat : CoreWebView2CapturePreviewImageFormat , imagestream : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , webmessageasjson : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , webmessageasstring : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , methodname : :: windows :: RawPtr , parametersasjson : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , eventname : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , rawobject : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uri : :: windows :: RawPtr , resourcecontext : CoreWebView2WebResourceContext ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uri : :: windows :: RawPtr , resourcecontext : CoreWebView2WebResourceContext ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , request : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hostname : :: windows :: RawPtr , folderpath : :: windows :: RawPtr , accesskind : CoreWebView2HostResourceAccessKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hostname : :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2 ( :: windows :: Object ) ; impl CoreWebView2 { pub fn Settings < > ( & self , ) -> :: windows :: Result < CoreWebView2Settings > { let this = self ; unsafe { let mut result__ : < CoreWebView2Settings as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2Settings > ( result__ ) } } pub fn Source < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn BrowserProcessId < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn CanGoBack < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CanGoForward < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn DocumentTitle < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn ContainsFullScreenElement < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn NavigationStarting < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2NavigationStartingEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveNavigationStarting < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ContentLoading < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2ContentLoadingEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveContentLoading < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn SourceChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2SourceChangedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveSourceChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn HistoryChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveHistoryChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn NavigationCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2NavigationCompletedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveNavigationCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn FrameNavigationStarting < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2NavigationStartingEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveFrameNavigationStarting < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn FrameNavigationCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2NavigationCompletedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveFrameNavigationCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ScriptDialogOpening < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2ScriptDialogOpeningEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveScriptDialogOpening < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn PermissionRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2PermissionRequestedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemovePermissionRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ProcessFailed < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2ProcessFailedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveProcessFailed < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WebMessageReceived < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2WebMessageReceivedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveWebMessageReceived < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn NewWindowRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2NewWindowRequestedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveNewWindowRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DocumentTitleChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveDocumentTitleChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ContainsFullScreenElementChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .39 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveContainsFullScreenElementChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .40 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WebResourceRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2WebResourceRequestedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .41 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveWebResourceRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .42 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WindowCloseRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .43 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveWindowCloseRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .44 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Navigate < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , uri : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .45 ) ( :: windows :: Abi :: abi ( this ) , uri . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn NavigateToString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , htmlcontent : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .46 ) ( :: windows :: Abi :: abi ( this ) , htmlcontent . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn AddScriptToExecuteOnDocumentCreatedAsync < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , javascript : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .47 ) ( :: windows :: Abi :: abi ( this ) , javascript . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > > ( result__ ) } } pub fn RemoveScriptToExecuteOnDocumentCreated < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , id : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .48 ) ( :: windows :: Abi :: abi ( this ) , id . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ExecuteScriptAsync < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , javascript : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .49 ) ( :: windows :: Abi :: abi ( this ) , javascript . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > > ( result__ ) } } pub fn CapturePreviewAsync < 'a , T1__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > , > ( & self , imageformat : CoreWebView2CapturePreviewImageFormat , imagestream : T1__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncAction > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncAction as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .50 ) ( :: windows :: Abi :: abi ( this ) , imageformat , imagestream . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncAction > ( result__ ) } } pub fn Reload < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .51 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn PostWebMessageAsJson < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , webmessageasjson : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .52 ) ( :: windows :: Abi :: abi ( this ) , webmessageasjson . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn PostWebMessageAsString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , webmessageasstring : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .53 ) ( :: windows :: Abi :: abi ( this ) , webmessageasstring . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn CallDevToolsProtocolMethodAsync < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , methodname : T0__ , parametersasjson : T1__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .54 ) ( :: windows :: Abi :: abi ( this ) , methodname . into_param ( ) . abi ( ) , parametersasjson . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < :: windows :: HString > > ( result__ ) } } pub fn GoBack < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .55 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn GoForward < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .56 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn GetDevToolsProtocolEventReceiver < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , eventname : T0__ , ) -> :: windows :: Result < CoreWebView2DevToolsProtocolEventReceiver > { let this = self ; unsafe { let mut result__ : < CoreWebView2DevToolsProtocolEventReceiver as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .57 ) ( :: windows :: Abi :: abi ( this ) , eventname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2DevToolsProtocolEventReceiver > ( result__ ) } } pub fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .58 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn AddHostObjectToScript < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: Object > , > ( & self , name : T0__ , rawobject : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .59 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , rawobject . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn RemoveHostObjectFromScript < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .60 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn OpenDevToolsWindow < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .61 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn AddWebResourceRequestedFilter < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , uri : T0__ , resourcecontext : CoreWebView2WebResourceContext , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .62 ) ( :: windows :: Abi :: abi ( this ) , uri . into_param ( ) . abi ( ) , resourcecontext , ) . ok ( ) } } pub fn RemoveWebResourceRequestedFilter < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , uri : T0__ , resourcecontext : CoreWebView2WebResourceContext , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .63 ) ( :: windows :: Abi :: abi ( this ) , uri . into_param ( ) . abi ( ) , resourcecontext , ) . ok ( ) } } pub fn CookieManager < > ( & self , ) -> :: windows :: Result < CoreWebView2CookieManager > { let this = self ; unsafe { let mut result__ : < CoreWebView2CookieManager as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .64 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2CookieManager > ( result__ ) } } pub fn Environment < > ( & self , ) -> :: windows :: Result < CoreWebView2Environment > { let this = self ; unsafe { let mut result__ : < CoreWebView2Environment as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .65 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2Environment > ( result__ ) } } pub fn WebResourceResponseReceived < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2WebResourceResponseReceivedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .66 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveWebResourceResponseReceived < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .67 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DOMContentLoaded < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2DOMContentLoadedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .68 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveDOMContentLoaded < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .69 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn NavigateWithWebResourceRequest < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2WebResourceRequest > , > ( & self , request : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .70 ) ( :: windows :: Abi :: abi ( this ) , request . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn IsSuspended < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .71 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn TrySuspendAsync < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < bool > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .72 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn Resume < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .73 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn SetVirtualHostNameToFolderMapping < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , hostname : T0__ , folderpath : T1__ , accesskind : CoreWebView2HostResourceAccessKind , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .74 ) ( :: windows :: Abi :: abi ( this ) , hostname . into_param ( ) . abi ( ) , folderpath . into_param ( ) . abi ( ) , accesskind , ) . ok ( ) } } pub fn ClearVirtualHostNameToFolderMapping < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , hostname : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .75 ) ( :: windows :: Abi :: abi ( this ) , hostname . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2 { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2;{fc5c0b73-08b0-59d1-a645-e4c24887fef9})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2 { type Vtable = ICoreWebView2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4233890675 ,2224 ,22993 , [ 166 ,69 ,228 ,194 ,72 ,135 ,254 ,249 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2 { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2" ; } impl < > :: std :: convert :: From < CoreWebView2 > for :: windows :: Object { fn from ( value : CoreWebView2 ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2 > for :: windows :: Object { fn from ( value : & CoreWebView2 ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2 { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2 { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2 { } unsafe impl :: std :: marker :: Sync for CoreWebView2 { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2AcceleratorKeyPressedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2AcceleratorKeyPressedEventArgs { type Vtable = ICoreWebView2AcceleratorKeyPressedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1101357312 ,37541 ,22993 , [ 158 ,113 ,146 ,34 ,227 ,58 ,227 ,139 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2AcceleratorKeyPressedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2KeyEventKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2PhysicalKeyStatus ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2AcceleratorKeyPressedEventArgs ( :: windows :: Object ) ; impl CoreWebView2AcceleratorKeyPressedEventArgs { pub fn KeyEventKind < > ( & self , ) -> :: windows :: Result < CoreWebView2KeyEventKind > { let this = self ; unsafe { let mut result__ : < CoreWebView2KeyEventKind as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2KeyEventKind > ( result__ ) } } pub fn VirtualKey < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn KeyEventLParam < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn PhysicalKeyStatus < > ( & self , ) -> :: windows :: Result < CoreWebView2PhysicalKeyStatus > { let this = self ; unsafe { let mut result__ : < CoreWebView2PhysicalKeyStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2PhysicalKeyStatus > ( result__ ) } } pub fn Handled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetHandled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2AcceleratorKeyPressedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs;{41a56100-92a5-59d1-9e71-9222e33ae38b})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2AcceleratorKeyPressedEventArgs { type Vtable = ICoreWebView2AcceleratorKeyPressedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1101357312 ,37541 ,22993 , [ 158 ,113 ,146 ,34 ,227 ,58 ,227 ,139 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2AcceleratorKeyPressedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2AcceleratorKeyPressedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2AcceleratorKeyPressedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2AcceleratorKeyPressedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2AcceleratorKeyPressedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2AcceleratorKeyPressedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2AcceleratorKeyPressedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2AcceleratorKeyPressedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2AcceleratorKeyPressedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2AcceleratorKeyPressedEventArgs { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2BoundsMode ( pub i32 ) ; impl CoreWebView2BoundsMode { pub const UseRawPixels : Self = Self ( 0i32 ) ; pub const UseRasterizationScale : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2BoundsMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2BoundsMode { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2BoundsMode { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2BoundsMode;i4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2CapturePreviewImageFormat ( pub i32 ) ; impl CoreWebView2CapturePreviewImageFormat { pub const Png : Self = Self ( 0i32 ) ; pub const Jpeg : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2CapturePreviewImageFormat { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2CapturePreviewImageFormat { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2CapturePreviewImageFormat { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2CapturePreviewImageFormat;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2CompositionController ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2CompositionController { type Vtable = ICoreWebView2CompositionController_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 739546137 ,24594 ,23761 , [ 138 ,144 ,205 ,122 ,206 ,45 ,170 ,191 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2CompositionController_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , eventkind : CoreWebView2MouseEventKind , virtualkeys : CoreWebView2MouseEventVirtualKeys , mousedata : u32 , point : super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , eventkind : CoreWebView2PointerEventKind , pointerinfo : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , keystate : u32 , point : super :: super :: super :: super :: Windows :: Foundation :: Point , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Controller ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2Controller { type Vtable = ICoreWebView2Controller_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 940118504 ,53204 ,24537 , [ 133 ,219 ,181 ,210 ,166 ,238 ,145 ,140 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Controller_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bounds : super :: super :: super :: super :: Windows :: Foundation :: Rect , zoomfactor : f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , reason : CoreWebView2MoveFocusReason ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2BoundsMode ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : CoreWebView2BoundsMode ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ControllerFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2ControllerFactory { type Vtable = ICoreWebView2ControllerFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 655043675 ,50089 ,21464 , [ 165 ,202 ,38 ,46 ,169 ,234 ,98 ,232 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ControllerFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2Controller ( :: windows :: Object ) ; impl CoreWebView2Controller { pub fn IsVisible < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsVisible < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn Bounds < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Rect > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Rect > ( result__ ) } } pub fn SetBounds < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ZoomFactor < > ( & self , ) -> :: windows :: Result < f64 > { let this = self ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn SetZoomFactor < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ParentWindow < > ( & self , ) -> :: windows :: Result < CoreWebView2ControllerWindowReference > { let this = self ; unsafe { let mut result__ : < CoreWebView2ControllerWindowReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2ControllerWindowReference > ( result__ ) } } pub fn SetParentWindow < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2ControllerWindowReference > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn CoreWebView2 < > ( & self , ) -> :: windows :: Result < CoreWebView2 > { let this = self ; unsafe { let mut result__ : < CoreWebView2 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2 > ( result__ ) } } pub fn ZoomFactorChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveZoomFactorChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn MoveFocusRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , CoreWebView2MoveFocusRequestedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveMoveFocusRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn GotFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveGotFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn LostFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveLostFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn AcceleratorKeyPressed < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , CoreWebView2AcceleratorKeyPressedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveAcceleratorKeyPressed < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn SetBoundsAndZoomFactor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , bounds : T0__ , zoomfactor : f64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , bounds . into_param ( ) . abi ( ) , zoomfactor , ) . ok ( ) } } pub fn MoveFocus < > ( & self , reason : CoreWebView2MoveFocusReason , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , reason , ) . ok ( ) } } pub fn NotifyParentWindowPositionChanged < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn RasterizationScale < > ( & self , ) -> :: windows :: Result < f64 > { let this = self ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn SetRasterizationScale < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ShouldDetectMonitorScaleChanges < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetShouldDetectMonitorScaleChanges < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn BoundsMode < > ( & self , ) -> :: windows :: Result < CoreWebView2BoundsMode > { let this = self ; unsafe { let mut result__ : < CoreWebView2BoundsMode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2BoundsMode > ( result__ ) } } pub fn SetBoundsMode < > ( & self , value : CoreWebView2BoundsMode , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn RasterizationScaleChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveRasterizationScaleChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2Controller { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2Controller;{380911e8-cfd4-5fd9-85db-b5d2a6ee918c})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2Controller { type Vtable = ICoreWebView2Controller_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 940118504 ,53204 ,24537 , [ 133 ,219 ,181 ,210 ,166 ,238 ,145 ,140 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2Controller { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2Controller" ; } impl < > :: std :: convert :: From < CoreWebView2Controller > for :: windows :: Object { fn from ( value : CoreWebView2Controller ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2Controller > for :: windows :: Object { fn from ( value : & CoreWebView2Controller ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2Controller { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2Controller { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2Controller { } unsafe impl :: std :: marker :: Sync for CoreWebView2Controller { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2CompositionController ( :: windows :: Object ) ; impl CoreWebView2CompositionController { pub fn RootVisualTarget < > ( & self , ) -> :: windows :: Result < :: windows :: Object > { let this = self ; unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } } pub fn SetRootVisualTarget < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Object > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn CursorChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2CompositionController , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveCursorChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn SendMouseInput < 'a , T3__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Point > , > ( & self , eventkind : CoreWebView2MouseEventKind , virtualkeys : CoreWebView2MouseEventVirtualKeys , mousedata : u32 , point : T3__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , eventkind , virtualkeys , mousedata , point . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn SendPointerInput < 'a , T1__ : :: windows :: IntoParam < 'a , CoreWebView2PointerInfo > , > ( & self , eventkind : CoreWebView2PointerEventKind , pointerinfo : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , eventkind , pointerinfo . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DragLeave < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn DragOver < 'a , T1__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Point > , > ( & self , keystate : u32 , point : T1__ , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , keystate , point . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn IsVisible < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsVisible < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn Bounds < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Rect > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Rect > ( result__ ) } } pub fn SetBounds < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ZoomFactor < > ( & self , ) -> :: windows :: Result < f64 > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn SetZoomFactor < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ParentWindow < > ( & self , ) -> :: windows :: Result < CoreWebView2ControllerWindowReference > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < CoreWebView2ControllerWindowReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2ControllerWindowReference > ( result__ ) } } pub fn SetParentWindow < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2ControllerWindowReference > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn CoreWebView2 < > ( & self , ) -> :: windows :: Result < CoreWebView2 > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < CoreWebView2 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2 > ( result__ ) } } pub fn ZoomFactorChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveZoomFactorChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn MoveFocusRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , CoreWebView2MoveFocusRequestedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveMoveFocusRequested < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn GotFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveGotFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn LostFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveLostFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn AcceleratorKeyPressed < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , CoreWebView2AcceleratorKeyPressedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveAcceleratorKeyPressed < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn SetBoundsAndZoomFactor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , bounds : T0__ , zoomfactor : f64 , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , bounds . into_param ( ) . abi ( ) , zoomfactor , ) . ok ( ) } } pub fn MoveFocus < > ( & self , reason : CoreWebView2MoveFocusReason , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , reason , ) . ok ( ) } } pub fn NotifyParentWindowPositionChanged < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn RasterizationScale < > ( & self , ) -> :: windows :: Result < f64 > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn SetRasterizationScale < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ShouldDetectMonitorScaleChanges < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetShouldDetectMonitorScaleChanges < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn BoundsMode < > ( & self , ) -> :: windows :: Result < CoreWebView2BoundsMode > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < CoreWebView2BoundsMode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2BoundsMode > ( result__ ) } } pub fn SetBoundsMode < > ( & self , value : CoreWebView2BoundsMode , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn RasterizationScaleChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Controller , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveRasterizationScaleChanged < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < ICoreWebView2Controller > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2CompositionController { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2CompositionController;{2c149419-6012-5cd1-8a90-cd7ace2daabf})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2CompositionController { type Vtable = ICoreWebView2CompositionController_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 739546137 ,24594 ,23761 , [ 138 ,144 ,205 ,122 ,206 ,45 ,170 ,191 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2CompositionController { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2CompositionController" ; } impl < > :: std :: convert :: From < CoreWebView2CompositionController > for :: windows :: Object { fn from ( value : CoreWebView2CompositionController ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2CompositionController > for :: windows :: Object { fn from ( value : & CoreWebView2CompositionController ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2CompositionController { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2CompositionController { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl :: std :: convert :: From < CoreWebView2CompositionController > for CoreWebView2Controller { fn from ( value : CoreWebView2CompositionController ) -> Self { :: std :: convert :: Into :: < CoreWebView2Controller > :: into ( & value ) } } impl :: std :: convert :: From < & CoreWebView2CompositionController > for CoreWebView2Controller { fn from ( value : & CoreWebView2CompositionController ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a > :: windows :: IntoParam < 'a , CoreWebView2Controller > for CoreWebView2CompositionController { fn into_param ( self ) -> :: windows :: Param < 'a , CoreWebView2Controller > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < CoreWebView2Controller > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , CoreWebView2Controller > for & 'a CoreWebView2CompositionController { fn into_param ( self ) -> :: windows :: Param < 'a , CoreWebView2Controller > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < CoreWebView2Controller > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for CoreWebView2CompositionController { } unsafe impl :: std :: marker :: Sync for CoreWebView2CompositionController { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ContentLoadingEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2ContentLoadingEventArgs { type Vtable = ICoreWebView2ContentLoadingEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1828279155 ,37996 ,23982 , [ 155 ,62 ,15 ,226 ,61 ,90 ,162 ,159 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ContentLoadingEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2ContentLoadingEventArgs ( :: windows :: Object ) ; impl CoreWebView2ContentLoadingEventArgs { pub fn IsErrorPage < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn NavigationId < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2ContentLoadingEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs;{6cf95373-946c-5dae-9b3e-0fe23d5aa29f})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2ContentLoadingEventArgs { type Vtable = ICoreWebView2ContentLoadingEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1828279155 ,37996 ,23982 , [ 155 ,62 ,15 ,226 ,61 ,90 ,162 ,159 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2ContentLoadingEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2ContentLoadingEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2ContentLoadingEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2ContentLoadingEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2ContentLoadingEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2ContentLoadingEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2ContentLoadingEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2ContentLoadingEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2ContentLoadingEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2ContentLoadingEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ControllerWindowReference ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2ControllerWindowReference { type Vtable = ICoreWebView2ControllerWindowReference_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 267246292 ,18595 ,23748 , [ 159 ,97 ,231 ,173 ,253 ,30 ,156 ,118 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ControllerWindowReference_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ControllerWindowReferenceStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2ControllerWindowReferenceStatics { type Vtable = ICoreWebView2ControllerWindowReferenceStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3723946993 ,60358 ,23092 , [ 144 ,8 ,102 ,28 ,58 ,46 ,183 ,103 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ControllerWindowReferenceStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , windowhandle : u64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2ControllerWindowReference ( :: windows :: Object ) ; impl CoreWebView2ControllerWindowReference { pub fn WindowHandle < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn CreateFromWindowHandle < > ( windowhandle : u64 , ) -> :: windows :: Result < CoreWebView2ControllerWindowReference > { Self :: ICoreWebView2ControllerWindowReferenceStatics ( | this | unsafe { let mut result__ : < CoreWebView2ControllerWindowReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , windowhandle , & mut result__ ) . from_abi :: < CoreWebView2ControllerWindowReference > ( result__ ) } ) } fn ICoreWebView2ControllerWindowReferenceStatics < R , F : FnOnce ( & ICoreWebView2ControllerWindowReferenceStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < CoreWebView2ControllerWindowReference , ICoreWebView2ControllerWindowReferenceStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2ControllerWindowReference { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2ControllerWindowReference;{0feddad4-48a3-5cc4-9f61-e7adfd1e9c76})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2ControllerWindowReference { type Vtable = ICoreWebView2ControllerWindowReference_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 267246292 ,18595 ,23748 , [ 159 ,97 ,231 ,173 ,253 ,30 ,156 ,118 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2ControllerWindowReference { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2ControllerWindowReference" ; } impl < > :: std :: convert :: From < CoreWebView2ControllerWindowReference > for :: windows :: Object { fn from ( value : CoreWebView2ControllerWindowReference ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2ControllerWindowReference > for :: windows :: Object { fn from ( value : & CoreWebView2ControllerWindowReference ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2ControllerWindowReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2ControllerWindowReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2ControllerWindowReference { } unsafe impl :: std :: marker :: Sync for CoreWebView2ControllerWindowReference { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Cookie ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2Cookie { type Vtable = ICoreWebView2Cookie_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1391882494 ,36002 ,23213 , [ 174 ,219 ,37 ,247 ,144 ,59 ,112 ,56 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Cookie_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2CookieSameSiteKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : CoreWebView2CookieSameSiteKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2Cookie ( :: windows :: Object ) ; impl CoreWebView2Cookie { pub fn Name < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Value < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetValue < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Domain < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Path < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Expires < > ( & self , ) -> :: windows :: Result < f64 > { let this = self ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn SetExpires < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsHttpOnly < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsHttpOnly < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn SameSite < > ( & self , ) -> :: windows :: Result < CoreWebView2CookieSameSiteKind > { let this = self ; unsafe { let mut result__ : < CoreWebView2CookieSameSiteKind as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2CookieSameSiteKind > ( result__ ) } } pub fn SetSameSite < > ( & self , value : CoreWebView2CookieSameSiteKind , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsSecure < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsSecure < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsSession < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2Cookie { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2Cookie;{52f670fe-8ca2-5aad-aedb-25f7903b7038})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2Cookie { type Vtable = ICoreWebView2Cookie_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1391882494 ,36002 ,23213 , [ 174 ,219 ,37 ,247 ,144 ,59 ,112 ,56 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2Cookie { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2Cookie" ; } impl < > :: std :: convert :: From < CoreWebView2Cookie > for :: windows :: Object { fn from ( value : CoreWebView2Cookie ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2Cookie > for :: windows :: Object { fn from ( value : & CoreWebView2Cookie ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2Cookie { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2Cookie { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2Cookie { } unsafe impl :: std :: marker :: Sync for CoreWebView2Cookie { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2CookieManager ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2CookieManager { type Vtable = ICoreWebView2CookieManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1083766038 ,44490 ,21859 , [ 170 ,165 ,215 ,175 ,253 ,132 ,122 ,163 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2CookieManager_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , value : :: windows :: RawPtr , domain : :: windows :: RawPtr , path : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cookieparam : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cookie : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cookie : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , uri : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , domain : :: windows :: RawPtr , path : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2CookieManager ( :: windows :: Object ) ; impl CoreWebView2CookieManager { pub fn CreateCookie < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T2__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T3__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , value : T1__ , domain : T2__ , path : T3__ , ) -> :: windows :: Result < CoreWebView2Cookie > { let this = self ; unsafe { let mut result__ : < CoreWebView2Cookie as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , value . into_param ( ) . abi ( ) , domain . into_param ( ) . abi ( ) , path . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2Cookie > ( result__ ) } } pub fn CopyCookie < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2Cookie > , > ( & self , cookieparam : T0__ , ) -> :: windows :: Result < CoreWebView2Cookie > { let this = self ; unsafe { let mut result__ : < CoreWebView2Cookie as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , cookieparam . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2Cookie > ( result__ ) } } pub fn AddOrUpdateCookie < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2Cookie > , > ( & self , cookie : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , cookie . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DeleteCookie < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2Cookie > , > ( & self , cookie : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , cookie . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DeleteCookies < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , uri : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , uri . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DeleteCookiesWithDomainAndPath < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T2__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , domain : T1__ , path : T2__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , domain . into_param ( ) . abi ( ) , path . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DeleteAllCookies < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2CookieManager { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2CookieManager;{4098f516-adca-5563-aaa5-d7affd847aa3})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2CookieManager { type Vtable = ICoreWebView2CookieManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1083766038 ,44490 ,21859 , [ 170 ,165 ,215 ,175 ,253 ,132 ,122 ,163 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2CookieManager { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2CookieManager" ; } impl < > :: std :: convert :: From < CoreWebView2CookieManager > for :: windows :: Object { fn from ( value : CoreWebView2CookieManager ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2CookieManager > for :: windows :: Object { fn from ( value : & CoreWebView2CookieManager ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2CookieManager { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2CookieManager { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2CookieManager { } unsafe impl :: std :: marker :: Sync for CoreWebView2CookieManager { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2CookieSameSiteKind ( pub i32 ) ; impl CoreWebView2CookieSameSiteKind { pub const None : Self = Self ( 0i32 ) ; pub const Lax : Self = Self ( 1i32 ) ; pub const Strict : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2CookieSameSiteKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2CookieSameSiteKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2CookieSameSiteKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2CookieSameSiteKind;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2DOMContentLoadedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2DOMContentLoadedEventArgs { type Vtable = ICoreWebView2DOMContentLoadedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3295989923 ,9388 ,23036 , [ 183 ,139 ,218 ,117 ,98 ,166 ,160 ,82 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2DOMContentLoadedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2DOMContentLoadedEventArgs ( :: windows :: Object ) ; impl CoreWebView2DOMContentLoadedEventArgs { pub fn NavigationId < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2DOMContentLoadedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2DOMContentLoadedEventArgs;{c474d0a3-24ac-59fc-b78b-da7562a6a052})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2DOMContentLoadedEventArgs { type Vtable = ICoreWebView2DOMContentLoadedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3295989923 ,9388 ,23036 , [ 183 ,139 ,218 ,117 ,98 ,166 ,160 ,82 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2DOMContentLoadedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2DOMContentLoadedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2DOMContentLoadedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2DOMContentLoadedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2DOMContentLoadedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2DOMContentLoadedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2DOMContentLoadedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2DOMContentLoadedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2DOMContentLoadedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2DOMContentLoadedEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2DevToolsProtocolEventReceivedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2DevToolsProtocolEventReceivedEventArgs { type Vtable = ICoreWebView2DevToolsProtocolEventReceivedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3064247325 ,64792 ,23034 , [ 146 ,58 ,197 ,117 ,85 ,217 ,96 ,206 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2DevToolsProtocolEventReceivedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2DevToolsProtocolEventReceivedEventArgs ( :: windows :: Object ) ; impl CoreWebView2DevToolsProtocolEventReceivedEventArgs { pub fn ParameterObjectAsJson < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2DevToolsProtocolEventReceivedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs;{b6a4b41d-fd18-59fa-923a-c57555d960ce})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2DevToolsProtocolEventReceivedEventArgs { type Vtable = ICoreWebView2DevToolsProtocolEventReceivedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3064247325 ,64792 ,23034 , [ 146 ,58 ,197 ,117 ,85 ,217 ,96 ,206 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2DevToolsProtocolEventReceivedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2DevToolsProtocolEventReceivedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2DevToolsProtocolEventReceivedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2DevToolsProtocolEventReceivedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2DevToolsProtocolEventReceivedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2DevToolsProtocolEventReceivedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2DevToolsProtocolEventReceivedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2DevToolsProtocolEventReceivedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2DevToolsProtocolEventReceivedEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2DevToolsProtocolEventReceiver ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2DevToolsProtocolEventReceiver { type Vtable = ICoreWebView2DevToolsProtocolEventReceiver_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2997010041 ,26108 ,21815 , [ 135 ,21 ,61 ,146 ,191 ,49 ,9 ,11 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2DevToolsProtocolEventReceiver_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2DevToolsProtocolEventReceiver ( :: windows :: Object ) ; impl CoreWebView2DevToolsProtocolEventReceiver { pub fn DevToolsProtocolEventReceived < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2 , CoreWebView2DevToolsProtocolEventReceivedEventArgs > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveDevToolsProtocolEventReceived < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2DevToolsProtocolEventReceiver { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver;{b2a2be79-65fc-5537-8715-3d92bf31090b})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2DevToolsProtocolEventReceiver { type Vtable = ICoreWebView2DevToolsProtocolEventReceiver_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2997010041 ,26108 ,21815 , [ 135 ,21 ,61 ,146 ,191 ,49 ,9 ,11 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2DevToolsProtocolEventReceiver { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver" ; } impl < > :: std :: convert :: From < CoreWebView2DevToolsProtocolEventReceiver > for :: windows :: Object { fn from ( value : CoreWebView2DevToolsProtocolEventReceiver ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2DevToolsProtocolEventReceiver > for :: windows :: Object { fn from ( value : & CoreWebView2DevToolsProtocolEventReceiver ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2DevToolsProtocolEventReceiver { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2DevToolsProtocolEventReceiver { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2DevToolsProtocolEventReceiver { } unsafe impl :: std :: marker :: Sync for CoreWebView2DevToolsProtocolEventReceiver { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Environment ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2Environment { type Vtable = ICoreWebView2Environment_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1282823156 ,1896 ,23040 , [ 154 ,116 ,220 ,153 ,19 ,74 ,110 ,87 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Environment_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , token : super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , parentwindow : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , content : :: windows :: RawPtr , statuscode : i32 , reasonphrase : :: windows :: RawPtr , headers : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uri : :: windows :: RawPtr , method : :: windows :: RawPtr , postdata : :: windows :: RawPtr , headers : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , parentwindow : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2EnvironmentStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2EnvironmentStatics { type Vtable = ICoreWebView2EnvironmentStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 238286852 ,61963 ,22069 , [ 132 ,145 ,22 ,42 ,170 ,39 ,81 ,123 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2EnvironmentStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , browserexecutablefolder : :: windows :: RawPtr , userdatafolder : :: windows :: RawPtr , options : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , browserexecutablefolder : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , browserversionstring1 : :: windows :: RawPtr , browserversionstring2 : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2Environment ( :: windows :: Object ) ; impl CoreWebView2Environment { pub fn BrowserVersionString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn NewBrowserVersionAvailable < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: TypedEventHandler :: < CoreWebView2Environment , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > ( result__ ) } } pub fn RemoveNewBrowserVersionAvailable < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: EventRegistrationToken > , > ( & self , token : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , token . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn CreateCoreWebView2ControllerAsync < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2ControllerWindowReference > , > ( & self , parentwindow : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Controller > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Controller > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , parentwindow . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Controller > > ( result__ ) } } pub fn CreateWebResourceResponse < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > , T2__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T3__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , content : T0__ , statuscode : i32 , reasonphrase : T2__ , headers : T3__ , ) -> :: windows :: Result < CoreWebView2WebResourceResponse > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceResponse as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , content . into_param ( ) . abi ( ) , statuscode , reasonphrase . into_param ( ) . abi ( ) , headers . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceResponse > ( result__ ) } } pub fn CreateWebResourceRequest < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T2__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > , T3__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , uri : T0__ , method : T1__ , postdata : T2__ , headers : T3__ , ) -> :: windows :: Result < CoreWebView2WebResourceRequest > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceRequest as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , uri . into_param ( ) . abi ( ) , method . into_param ( ) . abi ( ) , postdata . into_param ( ) . abi ( ) , headers . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceRequest > ( result__ ) } } pub fn CreateCoreWebView2CompositionControllerAsync < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2ControllerWindowReference > , > ( & self , parentwindow : T0__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2CompositionController > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2CompositionController > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , parentwindow . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2CompositionController > > ( result__ ) } } pub fn CreateCoreWebView2PointerInfo < > ( & self , ) -> :: windows :: Result < CoreWebView2PointerInfo > { let this = self ; unsafe { let mut result__ : < CoreWebView2PointerInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2PointerInfo > ( result__ ) } } pub fn CreateAsync < > ( ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Environment > > { Self :: ICoreWebView2EnvironmentStatics ( | this | unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Environment > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Environment > > ( result__ ) } ) } pub fn CreateWithOptionsAsync < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T2__ : :: windows :: IntoParam < 'a , CoreWebView2EnvironmentOptions > , > ( browserexecutablefolder : T0__ , userdatafolder : T1__ , options : T2__ , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Environment > > { Self :: ICoreWebView2EnvironmentStatics ( | this | unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Environment > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , browserexecutablefolder . into_param ( ) . abi ( ) , userdatafolder . into_param ( ) . abi ( ) , options . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < CoreWebView2Environment > > ( result__ ) } ) } pub fn GetAvailableBrowserVersionString < > ( ) -> :: windows :: Result < :: windows :: HString > { Self :: ICoreWebView2EnvironmentStatics ( | this | unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } ) } pub fn GetAvailableBrowserVersionString2 < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( browserexecutablefolder : T0__ , ) -> :: windows :: Result < :: windows :: HString > { Self :: ICoreWebView2EnvironmentStatics ( | this | unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , browserexecutablefolder . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } ) } pub fn CompareBrowserVersionString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( browserversionstring1 : T0__ , browserversionstring2 : T1__ , ) -> :: windows :: Result < i32 > { Self :: ICoreWebView2EnvironmentStatics ( | this | unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , browserversionstring1 . into_param ( ) . abi ( ) , browserversionstring2 . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } ) } fn ICoreWebView2EnvironmentStatics < R , F : FnOnce ( & ICoreWebView2EnvironmentStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < CoreWebView2Environment , ICoreWebView2EnvironmentStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2Environment { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2Environment;{4c7653f4-0768-5a00-9a74-dc99134a6e57})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2Environment { type Vtable = ICoreWebView2Environment_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1282823156 ,1896 ,23040 , [ 154 ,116 ,220 ,153 ,19 ,74 ,110 ,87 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2Environment { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2Environment" ; } impl < > :: std :: convert :: From < CoreWebView2Environment > for :: windows :: Object { fn from ( value : CoreWebView2Environment ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2Environment > for :: windows :: Object { fn from ( value : & CoreWebView2Environment ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2Environment { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2Environment { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2Environment { } unsafe impl :: std :: marker :: Sync for CoreWebView2Environment { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2EnvironmentOptions ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2EnvironmentOptions { type Vtable = ICoreWebView2EnvironmentOptions_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 634838073 ,98 ,22325 , [ 139 ,9 ,166 ,245 ,53 ,241 ,158 ,151 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2EnvironmentOptions_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2EnvironmentOptions ( :: windows :: Object ) ; impl CoreWebView2EnvironmentOptions { pub fn new ( ) -> :: windows :: Result < Self > { Self :: IActivationFactory ( | f | f . activate_instance :: < Self > ( ) ) } fn IActivationFactory < R , F : FnOnce ( & :: windows :: IActivationFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < CoreWebView2EnvironmentOptions , :: windows :: IActivationFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } pub fn AdditionalBrowserArguments < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetAdditionalBrowserArguments < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Language < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetLanguage < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn TargetCompatibleBrowserVersion < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetTargetCompatibleBrowserVersion < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn AllowSingleSignOnUsingOSPrimaryAccount < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetAllowSingleSignOnUsingOSPrimaryAccount < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2EnvironmentOptions { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions;{25d6dc39-0062-5735-8b09-a6f535f19e97})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2EnvironmentOptions { type Vtable = ICoreWebView2EnvironmentOptions_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 634838073 ,98 ,22325 , [ 139 ,9 ,166 ,245 ,53 ,241 ,158 ,151 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2EnvironmentOptions { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions" ; } impl < > :: std :: convert :: From < CoreWebView2EnvironmentOptions > for :: windows :: Object { fn from ( value : CoreWebView2EnvironmentOptions ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2EnvironmentOptions > for :: windows :: Object { fn from ( value : & CoreWebView2EnvironmentOptions ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2EnvironmentOptions { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2EnvironmentOptions { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2EnvironmentOptions { } unsafe impl :: std :: marker :: Sync for CoreWebView2EnvironmentOptions { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2FrameInfo ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2FrameInfo { type Vtable = ICoreWebView2FrameInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4189597190 ,29683 ,20795 , [ 188 ,44 ,68 ,93 ,222 ,219 ,169 ,118 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2FrameInfo_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2FrameInfo ( :: windows :: Object ) ; impl CoreWebView2FrameInfo { pub fn Name < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Source < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2FrameInfo { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo;{f9b82e06-73f3-513b-bc2c-445ddedba976})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2FrameInfo { type Vtable = ICoreWebView2FrameInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4189597190 ,29683 ,20795 , [ 188 ,44 ,68 ,93 ,222 ,219 ,169 ,118 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2FrameInfo { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2FrameInfo" ; } impl < > :: std :: convert :: From < CoreWebView2FrameInfo > for :: windows :: Object { fn from ( value : CoreWebView2FrameInfo ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2FrameInfo > for :: windows :: Object { fn from ( value : & CoreWebView2FrameInfo ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2FrameInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2FrameInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2FrameInfo { } unsafe impl :: std :: marker :: Sync for CoreWebView2FrameInfo { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2HostResourceAccessKind ( pub i32 ) ; impl CoreWebView2HostResourceAccessKind { pub const Deny : Self = Self ( 0i32 ) ; pub const Allow : Self = Self ( 1i32 ) ; pub const DenyCors : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2HostResourceAccessKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2HostResourceAccessKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2HostResourceAccessKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2HostResourceAccessKind;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2HttpHeadersCollectionIterator ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2HttpHeadersCollectionIterator { type Vtable = ICoreWebView2HttpHeadersCollectionIterator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2918343918 ,55680 ,24392 , [ 166 ,14 ,135 ,5 ,222 ,4 ,102 ,8 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2HttpHeadersCollectionIterator_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2HttpHeadersCollectionIterator ( :: windows :: Object ) ; impl CoreWebView2HttpHeadersCollectionIterator { pub fn Current < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { let this = & :: windows :: Interface :: cast :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > ( result__ ) } } pub fn HasCurrent < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn MoveNext < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetMany < > ( & self , items : & mut [ < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , items . len ( ) as u32 , :: std :: mem :: transmute_copy ( & items ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2HttpHeadersCollectionIterator { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator;{adf264ee-d980-5f48-a60e-8705de046608})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2HttpHeadersCollectionIterator { type Vtable = ICoreWebView2HttpHeadersCollectionIterator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2918343918 ,55680 ,24392 , [ 166 ,14 ,135 ,5 ,222 ,4 ,102 ,8 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2HttpHeadersCollectionIterator { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2HttpHeadersCollectionIterator" ; } impl < > :: std :: convert :: From < CoreWebView2HttpHeadersCollectionIterator > for :: windows :: Object { fn from ( value : CoreWebView2HttpHeadersCollectionIterator ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2HttpHeadersCollectionIterator > for :: windows :: Object { fn from ( value : & CoreWebView2HttpHeadersCollectionIterator ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2HttpHeadersCollectionIterator { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2HttpHeadersCollectionIterator { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < CoreWebView2HttpHeadersCollectionIterator > for super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { fn from ( value : CoreWebView2HttpHeadersCollectionIterator ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & CoreWebView2HttpHeadersCollectionIterator > for super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { fn from ( value : & CoreWebView2HttpHeadersCollectionIterator ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > for CoreWebView2HttpHeadersCollectionIterator { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > for & 'a CoreWebView2HttpHeadersCollectionIterator { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for CoreWebView2HttpHeadersCollectionIterator { } unsafe impl :: std :: marker :: Sync for CoreWebView2HttpHeadersCollectionIterator { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2HttpRequestHeaders ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2HttpRequestHeaders { type Vtable = ICoreWebView2HttpRequestHeaders_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3693225671 ,13589 ,21947 , [ 188 ,178 ,87 ,183 ,143 ,134 ,185 ,29 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2HttpRequestHeaders_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2HttpRequestHeaders ( :: windows :: Object ) ; impl CoreWebView2HttpRequestHeaders { pub fn GetHeader < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn GetHeaders < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < CoreWebView2HttpHeadersCollectionIterator > { let this = self ; unsafe { let mut result__ : < CoreWebView2HttpHeadersCollectionIterator as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2HttpHeadersCollectionIterator > ( result__ ) } } pub fn Contains < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetHeader < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , value : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn RemoveHeader < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn First < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { let this = & :: windows :: Interface :: cast :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2HttpRequestHeaders { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders;{dc2226c7-3515-55bb-bcb2-57b78f86b91d})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2HttpRequestHeaders { type Vtable = ICoreWebView2HttpRequestHeaders_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3693225671 ,13589 ,21947 , [ 188 ,178 ,87 ,183 ,143 ,134 ,185 ,29 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2HttpRequestHeaders { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2HttpRequestHeaders" ; } impl < > :: std :: convert :: From < CoreWebView2HttpRequestHeaders > for :: windows :: Object { fn from ( value : CoreWebView2HttpRequestHeaders ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2HttpRequestHeaders > for :: windows :: Object { fn from ( value : & CoreWebView2HttpRequestHeaders ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2HttpRequestHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2HttpRequestHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < CoreWebView2HttpRequestHeaders > for super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { fn from ( value : CoreWebView2HttpRequestHeaders ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & CoreWebView2HttpRequestHeaders > for super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { fn from ( value : & CoreWebView2HttpRequestHeaders ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > for CoreWebView2HttpRequestHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > for & 'a CoreWebView2HttpRequestHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for CoreWebView2HttpRequestHeaders { } unsafe impl :: std :: marker :: Sync for CoreWebView2HttpRequestHeaders { } impl < > :: std :: iter :: IntoIterator for CoreWebView2HttpRequestHeaders { type Item = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > ; type IntoIter = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { self . First ( ) . unwrap ( ) } } impl < 'a , > :: std :: iter :: IntoIterator for & 'a CoreWebView2HttpRequestHeaders { type Item = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > ; type IntoIter = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { self . First ( ) . unwrap ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2HttpResponseHeaders ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2HttpResponseHeaders { type Vtable = ICoreWebView2HttpResponseHeaders_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4090725353 ,29823 ,21876 , [ 134 ,98 ,154 ,107 ,146 ,12 ,236 ,212 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2HttpResponseHeaders_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2HttpResponseHeaders ( :: windows :: Object ) ; impl CoreWebView2HttpResponseHeaders { pub fn AppendHeader < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , value : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Contains < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetHeader < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn GetHeaders < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < CoreWebView2HttpHeadersCollectionIterator > { let this = self ; unsafe { let mut result__ : < CoreWebView2HttpHeadersCollectionIterator as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CoreWebView2HttpHeadersCollectionIterator > ( result__ ) } } pub fn First < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { let this = & :: windows :: Interface :: cast :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2HttpResponseHeaders { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders;{f3d383e9-747f-5574-8662-9a6b920cecd4})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2HttpResponseHeaders { type Vtable = ICoreWebView2HttpResponseHeaders_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4090725353 ,29823 ,21876 , [ 134 ,98 ,154 ,107 ,146 ,12 ,236 ,212 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2HttpResponseHeaders { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2HttpResponseHeaders" ; } impl < > :: std :: convert :: From < CoreWebView2HttpResponseHeaders > for :: windows :: Object { fn from ( value : CoreWebView2HttpResponseHeaders ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2HttpResponseHeaders > for :: windows :: Object { fn from ( value : & CoreWebView2HttpResponseHeaders ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2HttpResponseHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2HttpResponseHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < CoreWebView2HttpResponseHeaders > for super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { fn from ( value : CoreWebView2HttpResponseHeaders ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & CoreWebView2HttpResponseHeaders > for super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > { fn from ( value : & CoreWebView2HttpResponseHeaders ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > for CoreWebView2HttpResponseHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > for & 'a CoreWebView2HttpResponseHeaders { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterable :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for CoreWebView2HttpResponseHeaders { } unsafe impl :: std :: marker :: Sync for CoreWebView2HttpResponseHeaders { } impl < > :: std :: iter :: IntoIterator for CoreWebView2HttpResponseHeaders { type Item = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > ; type IntoIter = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { self . First ( ) . unwrap ( ) } } impl < 'a , > :: std :: iter :: IntoIterator for & 'a CoreWebView2HttpResponseHeaders { type Item = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IKeyValuePair :: < :: windows :: HString , :: windows :: HString > ; type IntoIter = super :: super :: super :: super :: Windows :: Foundation :: Collections :: IIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { self . First ( ) . unwrap ( ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2KeyEventKind ( pub i32 ) ; impl CoreWebView2KeyEventKind { pub const KeyDown : Self = Self ( 0i32 ) ; pub const KeyUp : Self = Self ( 1i32 ) ; pub const SystemKeyDown : Self = Self ( 2i32 ) ; pub const SystemKeyUp : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2KeyEventKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2KeyEventKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2KeyEventKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2KeyEventKind;i4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2MouseEventKind ( pub i32 ) ; impl CoreWebView2MouseEventKind { pub const HorizontalWheel : Self = Self ( 526i32 ) ; pub const LeftButtonDoubleClick : Self = Self ( 515i32 ) ; pub const LeftButtonDown : Self = Self ( 513i32 ) ; pub const LeftButtonUp : Self = Self ( 514i32 ) ; pub const Leave : Self = Self ( 675i32 ) ; pub const MiddleButtonDoubleClick : Self = Self ( 521i32 ) ; pub const MiddleButtonDown : Self = Self ( 519i32 ) ; pub const MiddleButtonUp : Self = Self ( 520i32 ) ; pub const Move : Self = Self ( 512i32 ) ; pub const RightButtonDoubleClick : Self = Self ( 518i32 ) ; pub const RightButtonDown : Self = Self ( 516i32 ) ; pub const RightButtonUp : Self = Self ( 517i32 ) ; pub const Wheel : Self = Self ( 522i32 ) ; pub const XButtonDoubleClick : Self = Self ( 525i32 ) ; pub const XButtonDown : Self = Self ( 523i32 ) ; pub const XButtonUp : Self = Self ( 524i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2MouseEventKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2MouseEventKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2MouseEventKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventKind;i4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2MouseEventVirtualKeys ( pub u32 ) ; impl CoreWebView2MouseEventVirtualKeys { pub const None : Self = Self ( 0u32 ) ; pub const LeftButton : Self = Self ( 1u32 ) ; pub const RightButton : Self = Self ( 2u32 ) ; pub const Shift : Self = Self ( 4u32 ) ; pub const Control : Self = Self ( 8u32 ) ; pub const MiddleButton : Self = Self ( 16u32 ) ; pub const XButton1 : Self = Self ( 32u32 ) ; pub const XButton2 : Self = Self ( 64u32 ) ; } impl :: std :: convert :: From < u32 > for CoreWebView2MouseEventVirtualKeys { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2MouseEventVirtualKeys { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2MouseEventVirtualKeys { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2MouseEventVirtualKeys;u4)" ) ; } impl :: std :: ops :: BitOr for CoreWebView2MouseEventVirtualKeys { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CoreWebView2MouseEventVirtualKeys { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CoreWebView2MouseEventVirtualKeys { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CoreWebView2MouseEventVirtualKeys { 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 CoreWebView2MoveFocusReason ( pub i32 ) ; impl CoreWebView2MoveFocusReason { pub const Programmatic : Self = Self ( 0i32 ) ; pub const Next : Self = Self ( 1i32 ) ; pub const Previous : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2MoveFocusReason { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2MoveFocusReason { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2MoveFocusReason { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusReason;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2MoveFocusRequestedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2MoveFocusRequestedEventArgs { type Vtable = ICoreWebView2MoveFocusRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 774443067 ,60637 ,23581 , [ 178 ,136 ,63 ,6 ,109 ,96 ,137 ,25 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2MoveFocusRequestedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2MoveFocusReason ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2MoveFocusRequestedEventArgs ( :: windows :: Object ) ; impl CoreWebView2MoveFocusRequestedEventArgs { pub fn Reason < > ( & self , ) -> :: windows :: Result < CoreWebView2MoveFocusReason > { let this = self ; unsafe { let mut result__ : < CoreWebView2MoveFocusReason as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2MoveFocusReason > ( result__ ) } } pub fn Handled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetHandled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2MoveFocusRequestedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusRequestedEventArgs;{2e29103b-ecdd-5c1d-b288-3f066d608919})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2MoveFocusRequestedEventArgs { type Vtable = ICoreWebView2MoveFocusRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 774443067 ,60637 ,23581 , [ 178 ,136 ,63 ,6 ,109 ,96 ,137 ,25 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2MoveFocusRequestedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2MoveFocusRequestedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2MoveFocusRequestedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2MoveFocusRequestedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2MoveFocusRequestedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2MoveFocusRequestedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2MoveFocusRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2MoveFocusRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2MoveFocusRequestedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2MoveFocusRequestedEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2NavigationCompletedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2NavigationCompletedEventArgs { type Vtable = ICoreWebView2NavigationCompletedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1214636600 ,874 ,22116 , [ 149 ,163 ,68 ,126 ,196 ,76 ,244 ,152 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2NavigationCompletedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2WebErrorStatus ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2NavigationCompletedEventArgs ( :: windows :: Object ) ; impl CoreWebView2NavigationCompletedEventArgs { pub fn IsSuccess < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn WebErrorStatus < > ( & self , ) -> :: windows :: Result < CoreWebView2WebErrorStatus > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebErrorStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WebErrorStatus > ( result__ ) } } pub fn NavigationId < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2NavigationCompletedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs;{4865e238-036a-5664-95a3-447ec44cf498})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2NavigationCompletedEventArgs { type Vtable = ICoreWebView2NavigationCompletedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1214636600 ,874 ,22116 , [ 149 ,163 ,68 ,126 ,196 ,76 ,244 ,152 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2NavigationCompletedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2NavigationCompletedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2NavigationCompletedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2NavigationCompletedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2NavigationCompletedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2NavigationCompletedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2NavigationCompletedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2NavigationCompletedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2NavigationCompletedEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2NavigationStartingEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2NavigationStartingEventArgs { type Vtable = ICoreWebView2NavigationStartingEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1418535891 ,65187 ,22038 , [ 189 ,5 ,174 ,8 ,6 ,108 ,134 ,211 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2NavigationStartingEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2NavigationStartingEventArgs ( :: windows :: Object ) ; impl CoreWebView2NavigationStartingEventArgs { pub fn Uri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn IsUserInitiated < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn IsRedirected < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn RequestHeaders < > ( & self , ) -> :: windows :: Result < CoreWebView2HttpRequestHeaders > { let this = self ; unsafe { let mut result__ : < CoreWebView2HttpRequestHeaders as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2HttpRequestHeaders > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetCancel < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn NavigationId < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2NavigationStartingEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs;{548d23d3-fea3-5616-bd05-ae08066c86d3})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2NavigationStartingEventArgs { type Vtable = ICoreWebView2NavigationStartingEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1418535891 ,65187 ,22038 , [ 189 ,5 ,174 ,8 ,6 ,108 ,134 ,211 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2NavigationStartingEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2NavigationStartingEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2NavigationStartingEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2NavigationStartingEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2NavigationStartingEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2NavigationStartingEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2NavigationStartingEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2NavigationStartingEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2NavigationStartingEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2NewWindowRequestedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2NewWindowRequestedEventArgs { type Vtable = ICoreWebView2NewWindowRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3873444794 ,44744 ,21294 , [ 154 ,201 ,21 ,144 ,175 ,123 ,37 ,236 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2NewWindowRequestedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2NewWindowRequestedEventArgs ( :: windows :: Object ) ; impl CoreWebView2NewWindowRequestedEventArgs { pub fn Uri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn NewWindow < > ( & self , ) -> :: windows :: Result < CoreWebView2 > { let this = self ; unsafe { let mut result__ : < CoreWebView2 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2 > ( result__ ) } } pub fn SetNewWindow < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2 > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Handled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetHandled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsUserInitiated < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn WindowFeatures < > ( & self , ) -> :: windows :: Result < CoreWebView2WindowFeatures > { let this = self ; unsafe { let mut result__ : < CoreWebView2WindowFeatures as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WindowFeatures > ( result__ ) } } pub fn GetDeferral < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Deferral > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Deferral as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Deferral > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2NewWindowRequestedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs;{e6e013ba-aec8-532e-9ac9-1590af7b25ec})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2NewWindowRequestedEventArgs { type Vtable = ICoreWebView2NewWindowRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3873444794 ,44744 ,21294 , [ 154 ,201 ,21 ,144 ,175 ,123 ,37 ,236 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2NewWindowRequestedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2NewWindowRequestedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2NewWindowRequestedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2NewWindowRequestedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2NewWindowRequestedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2NewWindowRequestedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2NewWindowRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2NewWindowRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2NewWindowRequestedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2NewWindowRequestedEventArgs { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2PermissionKind ( pub i32 ) ; impl CoreWebView2PermissionKind { pub const UnknownPermission : Self = Self ( 0i32 ) ; pub const Microphone : Self = Self ( 1i32 ) ; pub const Camera : Self = Self ( 2i32 ) ; pub const Geolocation : Self = Self ( 3i32 ) ; pub const Notifications : Self = Self ( 4i32 ) ; pub const OtherSensors : Self = Self ( 5i32 ) ; pub const ClipboardRead : Self = Self ( 6i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2PermissionKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2PermissionKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2PermissionKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2PermissionKind;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2PermissionRequestedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2PermissionRequestedEventArgs { type Vtable = ICoreWebView2PermissionRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 294378907 ,52977 ,22800 , [ 146 ,158 ,193 ,163 ,33 ,50 ,130 ,57 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2PermissionRequestedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2PermissionKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2PermissionState ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : CoreWebView2PermissionState ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2PermissionRequestedEventArgs ( :: windows :: Object ) ; impl CoreWebView2PermissionRequestedEventArgs { pub fn Uri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn PermissionKind < > ( & self , ) -> :: windows :: Result < CoreWebView2PermissionKind > { let this = self ; unsafe { let mut result__ : < CoreWebView2PermissionKind as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2PermissionKind > ( result__ ) } } pub fn IsUserInitiated < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn State < > ( & self , ) -> :: windows :: Result < CoreWebView2PermissionState > { let this = self ; unsafe { let mut result__ : < CoreWebView2PermissionState as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2PermissionState > ( result__ ) } } pub fn SetState < > ( & self , value : CoreWebView2PermissionState , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn GetDeferral < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Deferral > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Deferral as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Deferral > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2PermissionRequestedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs;{118bdd9b-cef1-5910-929e-c1a321328239})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2PermissionRequestedEventArgs { type Vtable = ICoreWebView2PermissionRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 294378907 ,52977 ,22800 , [ 146 ,158 ,193 ,163 ,33 ,50 ,130 ,57 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2PermissionRequestedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2PermissionRequestedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2PermissionRequestedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2PermissionRequestedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2PermissionRequestedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2PermissionRequestedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2PermissionRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2PermissionRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2PermissionRequestedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2PermissionRequestedEventArgs { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2PermissionState ( pub i32 ) ; impl CoreWebView2PermissionState { pub const Default : Self = Self ( 0i32 ) ; pub const Allow : Self = Self ( 1i32 ) ; pub const Deny : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2PermissionState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2PermissionState { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2PermissionState { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2PermissionState;i4)" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CoreWebView2PhysicalKeyStatus { pub RepeatCount : u32 , pub ScanCode : u32 , pub IsExtendedKey : i32 , pub IsMenuKeyDown : i32 , pub WasKeyDown : i32 , pub IsKeyReleased : i32 } impl CoreWebView2PhysicalKeyStatus { } impl :: std :: default :: Default for CoreWebView2PhysicalKeyStatus { fn default ( ) -> Self { Self { RepeatCount : 0 , ScanCode : 0 , IsExtendedKey : 0 , IsMenuKeyDown : 0 , WasKeyDown : 0 , IsKeyReleased : 0 } } } impl :: std :: fmt :: Debug for CoreWebView2PhysicalKeyStatus { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CoreWebView2PhysicalKeyStatus" ) . field ( "RepeatCount" , & format_args ! ( "{:?}" , self . RepeatCount ) ) . field ( "ScanCode" , & format_args ! ( "{:?}" , self . ScanCode ) ) . field ( "IsExtendedKey" , & format_args ! ( "{:?}" , self . IsExtendedKey ) ) . field ( "IsMenuKeyDown" , & format_args ! ( "{:?}" , self . IsMenuKeyDown ) ) . field ( "WasKeyDown" , & format_args ! ( "{:?}" , self . WasKeyDown ) ) . field ( "IsKeyReleased" , & format_args ! ( "{:?}" , self . IsKeyReleased ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CoreWebView2PhysicalKeyStatus { fn eq ( & self , other : & Self ) -> bool { self . RepeatCount == other . RepeatCount && self . ScanCode == other . ScanCode && self . IsExtendedKey == other . IsExtendedKey && self . IsMenuKeyDown == other . IsMenuKeyDown && self . WasKeyDown == other . WasKeyDown && self . IsKeyReleased == other . IsKeyReleased } } impl :: std :: cmp :: Eq for CoreWebView2PhysicalKeyStatus { } unsafe impl :: windows :: Abi for CoreWebView2PhysicalKeyStatus { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2PhysicalKeyStatus { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Microsoft.Web.WebView2.Core.CoreWebView2PhysicalKeyStatus;u4;u4;i4;i4;i4;i4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2PointerEventKind ( pub i32 ) ; impl CoreWebView2PointerEventKind { pub const Activate : Self = Self ( 587i32 ) ; pub const Down : Self = Self ( 582i32 ) ; pub const Enter : Self = Self ( 585i32 ) ; pub const Leave : Self = Self ( 586i32 ) ; pub const Up : Self = Self ( 583i32 ) ; pub const Update : Self = Self ( 581i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2PointerEventKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2PointerEventKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2PointerEventKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2PointerInfo ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2PointerInfo { type Vtable = ICoreWebView2PointerInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3280342541 ,49176 ,23172 , [ 188 ,6 ,159 ,143 ,123 ,39 ,93 ,255 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2PointerInfo_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: super :: super :: Windows :: Foundation :: Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2PointerInfo ( :: windows :: Object ) ; impl CoreWebView2PointerInfo { pub fn PointerKind < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPointerKind < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PointerId < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPointerId < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn FrameId < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetFrameId < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PointerFlags < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPointerFlags < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PointerDeviceRect < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Rect > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Rect > ( result__ ) } } pub fn SetPointerDeviceRect < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn DisplayRect < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Rect > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Rect > ( result__ ) } } pub fn SetDisplayRect < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn PixelLocation < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Point > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Point > ( result__ ) } } pub fn SetPixelLocation < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Point > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn HimetricLocation < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Point > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Point > ( result__ ) } } pub fn SetHimetricLocation < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Point > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn PixelLocationRaw < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Point > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Point > ( result__ ) } } pub fn SetPixelLocationRaw < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Point > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn HimetricLocationRaw < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Point > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Point > ( result__ ) } } pub fn SetHimetricLocationRaw < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Point > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Time < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetTime < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn HistoryCount < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetHistoryCount < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn InputData < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn SetInputData < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn KeyStates < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetKeyStates < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PerformanceCount < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn SetPerformanceCount < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ButtonChangeKind < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn SetButtonChangeKind < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PenFlags < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPenFlags < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .39 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PenMask < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .40 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPenMask < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .41 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PenPressure < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .42 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPenPressure < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .43 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PenRotation < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .44 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetPenRotation < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .45 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PenTiltX < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .46 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn SetPenTiltX < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .47 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn PenTiltY < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .48 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn SetPenTiltY < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .49 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn TouchFlags < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .50 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetTouchFlags < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .51 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn TouchMask < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .52 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetTouchMask < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .53 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn TouchContact < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Rect > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .54 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Rect > ( result__ ) } } pub fn SetTouchContact < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .55 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn TouchContactRaw < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Rect > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .56 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Rect > ( result__ ) } } pub fn SetTouchContactRaw < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Foundation :: Rect > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .57 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn TouchOrientation < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .58 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetTouchOrientation < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .59 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn TouchPressure < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .60 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetTouchPressure < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .61 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2PointerInfo { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo;{c3860e0d-c018-5a84-bc06-9f8f7b275dff})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2PointerInfo { type Vtable = ICoreWebView2PointerInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3280342541 ,49176 ,23172 , [ 188 ,6 ,159 ,143 ,123 ,39 ,93 ,255 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2PointerInfo { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo" ; } impl < > :: std :: convert :: From < CoreWebView2PointerInfo > for :: windows :: Object { fn from ( value : CoreWebView2PointerInfo ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2PointerInfo > for :: windows :: Object { fn from ( value : & CoreWebView2PointerInfo ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2PointerInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2PointerInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2PointerInfo { } unsafe impl :: std :: marker :: Sync for CoreWebView2PointerInfo { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ProcessFailedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2ProcessFailedEventArgs { type Vtable = ICoreWebView2ProcessFailedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3768860347 ,27872 ,23379 , [ 190 ,220 ,72 ,115 ,205 ,241 ,13 ,40 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ProcessFailedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2ProcessFailedKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2ProcessFailedReason ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2ProcessFailedEventArgs ( :: windows :: Object ) ; impl CoreWebView2ProcessFailedEventArgs { pub fn ProcessFailedKind < > ( & self , ) -> :: windows :: Result < CoreWebView2ProcessFailedKind > { let this = self ; unsafe { let mut result__ : < CoreWebView2ProcessFailedKind as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2ProcessFailedKind > ( result__ ) } } pub fn Reason < > ( & self , ) -> :: windows :: Result < CoreWebView2ProcessFailedReason > { let this = self ; unsafe { let mut result__ : < CoreWebView2ProcessFailedReason as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2ProcessFailedReason > ( result__ ) } } pub fn ExitCode < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn ProcessDescription < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn FrameInfosForFailedProcess < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IVectorView :: < CoreWebView2FrameInfo > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IVectorView :: < CoreWebView2FrameInfo > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Collections :: IVectorView :: < CoreWebView2FrameInfo > > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2ProcessFailedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs;{e0a43ebb-6ce0-5b53-bedc-4873cdf10d28})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2ProcessFailedEventArgs { type Vtable = ICoreWebView2ProcessFailedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3768860347 ,27872 ,23379 , [ 190 ,220 ,72 ,115 ,205 ,241 ,13 ,40 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2ProcessFailedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2ProcessFailedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2ProcessFailedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2ProcessFailedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2ProcessFailedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2ProcessFailedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2ProcessFailedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2ProcessFailedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2ProcessFailedEventArgs { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2ProcessFailedKind ( pub i32 ) ; impl CoreWebView2ProcessFailedKind { pub const BrowserProcessExited : Self = Self ( 0i32 ) ; pub const RenderProcessExited : Self = Self ( 1i32 ) ; pub const RenderProcessUnresponsive : Self = Self ( 2i32 ) ; pub const FrameRenderProcessExited : Self = Self ( 3i32 ) ; pub const UtilityProcessExited : Self = Self ( 4i32 ) ; pub const SandboxHelperProcessExited : Self = Self ( 5i32 ) ; pub const GpuProcessExited : Self = Self ( 6i32 ) ; pub const PpapiPluginProcessExited : Self = Self ( 7i32 ) ; pub const PpapiBrokerProcessExited : Self = Self ( 8i32 ) ; pub const UnknownProcessExited : Self = Self ( 9i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2ProcessFailedKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2ProcessFailedKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2ProcessFailedKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedKind;i4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2ProcessFailedReason ( pub i32 ) ; impl CoreWebView2ProcessFailedReason { pub const Unexpected : Self = Self ( 0i32 ) ; pub const Unresponsive : Self = Self ( 1i32 ) ; pub const Terminated : Self = Self ( 2i32 ) ; pub const Crashed : Self = Self ( 3i32 ) ; pub const LaunchFailed : Self = Self ( 4i32 ) ; pub const OutOfMemory : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2ProcessFailedReason { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2ProcessFailedReason { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2ProcessFailedReason { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2ProcessFailedReason;i4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2ScriptDialogKind ( pub i32 ) ; impl CoreWebView2ScriptDialogKind { pub const Alert : Self = Self ( 0i32 ) ; pub const Confirm : Self = Self ( 1i32 ) ; pub const Prompt : Self = Self ( 2i32 ) ; pub const Beforeunload : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2ScriptDialogKind { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2ScriptDialogKind { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2ScriptDialogKind { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogKind;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ScriptDialogOpeningEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2ScriptDialogOpeningEventArgs { type Vtable = ICoreWebView2ScriptDialogOpeningEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2754695698 ,51179 ,22154 , [ 134 ,228 ,198 ,30 ,49 ,186 ,108 ,218 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2ScriptDialogOpeningEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2ScriptDialogKind ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2ScriptDialogOpeningEventArgs ( :: windows :: Object ) ; impl CoreWebView2ScriptDialogOpeningEventArgs { pub fn Uri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Kind < > ( & self , ) -> :: windows :: Result < CoreWebView2ScriptDialogKind > { let this = self ; unsafe { let mut result__ : < CoreWebView2ScriptDialogKind as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2ScriptDialogKind > ( result__ ) } } pub fn Message < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn DefaultText < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn ResultText < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetResultText < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Accept < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn GetDeferral < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Deferral > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Deferral as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Deferral > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2ScriptDialogOpeningEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs;{a4315212-c7eb-568a-86e4-c61e31ba6cda})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2ScriptDialogOpeningEventArgs { type Vtable = ICoreWebView2ScriptDialogOpeningEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2754695698 ,51179 ,22154 , [ 134 ,228 ,198 ,30 ,49 ,186 ,108 ,218 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2ScriptDialogOpeningEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2ScriptDialogOpeningEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2ScriptDialogOpeningEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2ScriptDialogOpeningEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2ScriptDialogOpeningEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2ScriptDialogOpeningEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2ScriptDialogOpeningEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2ScriptDialogOpeningEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2ScriptDialogOpeningEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2ScriptDialogOpeningEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Settings ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2Settings { type Vtable = ICoreWebView2Settings_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3368439753 ,48766 ,21977 , [ 149 ,49 ,66 ,217 ,203 ,39 ,100 ,166 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2Settings_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2Settings ( :: windows :: Object ) ; impl CoreWebView2Settings { pub fn IsScriptEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsScriptEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsWebMessageEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsWebMessageEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn AreDefaultScriptDialogsEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetAreDefaultScriptDialogsEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsStatusBarEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsStatusBarEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn AreDevToolsEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetAreDevToolsEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn AreDefaultContextMenusEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetAreDefaultContextMenusEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn AreHostObjectsAllowed < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetAreHostObjectsAllowed < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsZoomControlEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsZoomControlEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn IsBuiltInErrorPageEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetIsBuiltInErrorPageEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn UserAgent < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetUserAgent < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn AreBrowserAcceleratorKeysEnabled < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn SetAreBrowserAcceleratorKeysEnabled < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2Settings { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2Settings;{c8c64fc9-be7e-55d9-9531-42d9cb2764a6})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2Settings { type Vtable = ICoreWebView2Settings_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3368439753 ,48766 ,21977 , [ 149 ,49 ,66 ,217 ,203 ,39 ,100 ,166 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2Settings { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2Settings" ; } impl < > :: std :: convert :: From < CoreWebView2Settings > for :: windows :: Object { fn from ( value : CoreWebView2Settings ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2Settings > for :: windows :: Object { fn from ( value : & CoreWebView2Settings ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2Settings { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2Settings { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2Settings { } unsafe impl :: std :: marker :: Sync for CoreWebView2Settings { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2SourceChangedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2SourceChangedEventArgs { type Vtable = ICoreWebView2SourceChangedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3393420076 ,27160 ,21842 , [ 183 ,73 ,177 ,152 ,248 ,204 ,52 ,217 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2SourceChangedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2SourceChangedEventArgs ( :: windows :: Object ) ; impl CoreWebView2SourceChangedEventArgs { pub fn IsNewDocument < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2SourceChangedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2SourceChangedEventArgs;{ca437b2c-6a18-5552-b749-b198f8cc34d9})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2SourceChangedEventArgs { type Vtable = ICoreWebView2SourceChangedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3393420076 ,27160 ,21842 , [ 183 ,73 ,177 ,152 ,248 ,204 ,52 ,217 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2SourceChangedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2SourceChangedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2SourceChangedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2SourceChangedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2SourceChangedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2SourceChangedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2SourceChangedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2SourceChangedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2SourceChangedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2SourceChangedEventArgs { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2WebErrorStatus ( pub i32 ) ; impl CoreWebView2WebErrorStatus { pub const Unknown : Self = Self ( 0i32 ) ; pub const CertificateCommonNameIsIncorrect : Self = Self ( 1i32 ) ; pub const CertificateExpired : Self = Self ( 2i32 ) ; pub const ClientCertificateContainsErrors : Self = Self ( 3i32 ) ; pub const CertificateRevoked : Self = Self ( 4i32 ) ; pub const CertificateIsInvalid : Self = Self ( 5i32 ) ; pub const ServerUnreachable : Self = Self ( 6i32 ) ; pub const Timeout : Self = Self ( 7i32 ) ; pub const ErrorHttpInvalidServerResponse : Self = Self ( 8i32 ) ; pub const ConnectionAborted : Self = Self ( 9i32 ) ; pub const ConnectionReset : Self = Self ( 10i32 ) ; pub const Disconnected : Self = Self ( 11i32 ) ; pub const CannotConnect : Self = Self ( 12i32 ) ; pub const HostNameNotResolved : Self = Self ( 13i32 ) ; pub const OperationCanceled : Self = Self ( 14i32 ) ; pub const RedirectFailed : Self = Self ( 15i32 ) ; pub const UnexpectedError : Self = Self ( 16i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2WebErrorStatus { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2WebErrorStatus { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2WebErrorStatus { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2WebErrorStatus;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebMessageReceivedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WebMessageReceivedEventArgs { type Vtable = ICoreWebView2WebMessageReceivedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3943063897 ,46885 ,23899 , [ 173 ,200 ,245 ,215 ,185 ,41 ,3 ,4 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebMessageReceivedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WebMessageReceivedEventArgs ( :: windows :: Object ) ; impl CoreWebView2WebMessageReceivedEventArgs { pub fn Source < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn WebMessageAsJson < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn TryGetWebMessageAsString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WebMessageReceivedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs;{eb066159-b725-5d5b-adc8-f5d7b9290304})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WebMessageReceivedEventArgs { type Vtable = ICoreWebView2WebMessageReceivedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3943063897 ,46885 ,23899 , [ 173 ,200 ,245 ,215 ,185 ,41 ,3 ,4 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WebMessageReceivedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2WebMessageReceivedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2WebMessageReceivedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WebMessageReceivedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2WebMessageReceivedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WebMessageReceivedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WebMessageReceivedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WebMessageReceivedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2WebMessageReceivedEventArgs { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CoreWebView2WebResourceContext ( pub i32 ) ; impl CoreWebView2WebResourceContext { pub const All : Self = Self ( 0i32 ) ; pub const Document : Self = Self ( 1i32 ) ; pub const Stylesheet : Self = Self ( 2i32 ) ; pub const Image : Self = Self ( 3i32 ) ; pub const Media : Self = Self ( 4i32 ) ; pub const Font : Self = Self ( 5i32 ) ; pub const Script : Self = Self ( 6i32 ) ; pub const XmlHttpRequest : Self = Self ( 7i32 ) ; pub const Fetch : Self = Self ( 8i32 ) ; pub const TextTrack : Self = Self ( 9i32 ) ; pub const EventSource : Self = Self ( 10i32 ) ; pub const Websocket : Self = Self ( 11i32 ) ; pub const Manifest : Self = Self ( 12i32 ) ; pub const SignedExchange : Self = Self ( 13i32 ) ; pub const Ping : Self = Self ( 14i32 ) ; pub const CspViolationReport : Self = Self ( 15i32 ) ; pub const Other : Self = Self ( 16i32 ) ; } impl :: std :: convert :: From < i32 > for CoreWebView2WebResourceContext { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CoreWebView2WebResourceContext { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for CoreWebView2WebResourceContext { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceContext;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceRequest ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WebResourceRequest { type Vtable = ICoreWebView2WebResourceRequest_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1551114841 ,26578 ,24050 , [ 131 ,130 ,15 ,32 ,27 ,77 ,113 ,151 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceRequest_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WebResourceRequest ( :: windows :: Object ) ; impl CoreWebView2WebResourceRequest { pub fn Uri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetUri < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Method < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetMethod < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Content < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > ( result__ ) } } pub fn SetContent < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Headers < > ( & self , ) -> :: windows :: Result < CoreWebView2HttpRequestHeaders > { let this = self ; unsafe { let mut result__ : < CoreWebView2HttpRequestHeaders as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2HttpRequestHeaders > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WebResourceRequest { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest;{5c742259-67d2-5df2-8382-0f201b4d7197})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WebResourceRequest { type Vtable = ICoreWebView2WebResourceRequest_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1551114841 ,26578 ,24050 , [ 131 ,130 ,15 ,32 ,27 ,77 ,113 ,151 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WebResourceRequest { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequest" ; } impl < > :: std :: convert :: From < CoreWebView2WebResourceRequest > for :: windows :: Object { fn from ( value : CoreWebView2WebResourceRequest ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WebResourceRequest > for :: windows :: Object { fn from ( value : & CoreWebView2WebResourceRequest ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WebResourceRequest { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WebResourceRequest { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WebResourceRequest { } unsafe impl :: std :: marker :: Sync for CoreWebView2WebResourceRequest { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceRequestedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WebResourceRequestedEventArgs { type Vtable = ICoreWebView2WebResourceRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1467948996 ,51523 ,21673 , [ 151 ,0 ,189 ,70 ,155 ,72 ,189 ,65 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceRequestedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut CoreWebView2WebResourceContext ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WebResourceRequestedEventArgs ( :: windows :: Object ) ; impl CoreWebView2WebResourceRequestedEventArgs { pub fn Request < > ( & self , ) -> :: windows :: Result < CoreWebView2WebResourceRequest > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceRequest as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceRequest > ( result__ ) } } pub fn Response < > ( & self , ) -> :: windows :: Result < CoreWebView2WebResourceResponse > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceResponse as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceResponse > ( result__ ) } } pub fn SetResponse < 'a , T0__ : :: windows :: IntoParam < 'a , CoreWebView2WebResourceResponse > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn ResourceContext < > ( & self , ) -> :: windows :: Result < CoreWebView2WebResourceContext > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceContext as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceContext > ( result__ ) } } pub fn GetDeferral < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: Deferral > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: Deferral as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: Deferral > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WebResourceRequestedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs;{577f1fc4-c943-54a9-9700-bd469b48bd41})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WebResourceRequestedEventArgs { type Vtable = ICoreWebView2WebResourceRequestedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1467948996 ,51523 ,21673 , [ 151 ,0 ,189 ,70 ,155 ,72 ,189 ,65 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WebResourceRequestedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WebResourceRequestedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2WebResourceRequestedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2WebResourceRequestedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WebResourceRequestedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2WebResourceRequestedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WebResourceRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WebResourceRequestedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WebResourceRequestedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2WebResourceRequestedEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceResponse ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WebResourceResponse { type Vtable = ICoreWebView2WebResourceResponse_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 341973283 ,58501 ,24388 , [ 143 ,93 ,189 ,66 ,67 ,188 ,57 ,143 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceResponse_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WebResourceResponse ( :: windows :: Object ) ; impl CoreWebView2WebResourceResponse { pub fn Content < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > ( result__ ) } } pub fn SetContent < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Headers < > ( & self , ) -> :: windows :: Result < CoreWebView2HttpResponseHeaders > { let this = self ; unsafe { let mut result__ : < CoreWebView2HttpResponseHeaders as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2HttpResponseHeaders > ( result__ ) } } pub fn StatusCode < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn SetStatusCode < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ReasonPhrase < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SetReasonPhrase < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WebResourceResponse { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse;{14621923-e485-5f44-8f5d-bd4243bc398f})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WebResourceResponse { type Vtable = ICoreWebView2WebResourceResponse_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 341973283 ,58501 ,24388 , [ 143 ,93 ,189 ,66 ,67 ,188 ,57 ,143 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WebResourceResponse { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponse" ; } impl < > :: std :: convert :: From < CoreWebView2WebResourceResponse > for :: windows :: Object { fn from ( value : CoreWebView2WebResourceResponse ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WebResourceResponse > for :: windows :: Object { fn from ( value : & CoreWebView2WebResourceResponse ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WebResourceResponse { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WebResourceResponse { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WebResourceResponse { } unsafe impl :: std :: marker :: Sync for CoreWebView2WebResourceResponse { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceResponseReceivedEventArgs ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WebResourceResponseReceivedEventArgs { type Vtable = ICoreWebView2WebResourceResponseReceivedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 306333297 ,38673 ,21748 , [ 188 ,223 ,95 ,48 ,122 ,221 ,110 ,194 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceResponseReceivedEventArgs_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WebResourceResponseReceivedEventArgs ( :: windows :: Object ) ; impl CoreWebView2WebResourceResponseReceivedEventArgs { pub fn Request < > ( & self , ) -> :: windows :: Result < CoreWebView2WebResourceRequest > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceRequest as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceRequest > ( result__ ) } } pub fn Response < > ( & self , ) -> :: windows :: Result < CoreWebView2WebResourceResponseView > { let this = self ; unsafe { let mut result__ : < CoreWebView2WebResourceResponseView as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2WebResourceResponseView > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WebResourceResponseReceivedEventArgs { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseReceivedEventArgs;{12424671-9711-54f4-bcdf-5f307add6ec2})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WebResourceResponseReceivedEventArgs { type Vtable = ICoreWebView2WebResourceResponseReceivedEventArgs_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 306333297 ,38673 ,21748 , [ 188 ,223 ,95 ,48 ,122 ,221 ,110 ,194 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WebResourceResponseReceivedEventArgs { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseReceivedEventArgs" ; } impl < > :: std :: convert :: From < CoreWebView2WebResourceResponseReceivedEventArgs > for :: windows :: Object { fn from ( value : CoreWebView2WebResourceResponseReceivedEventArgs ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WebResourceResponseReceivedEventArgs > for :: windows :: Object { fn from ( value : & CoreWebView2WebResourceResponseReceivedEventArgs ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WebResourceResponseReceivedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WebResourceResponseReceivedEventArgs { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WebResourceResponseReceivedEventArgs { } unsafe impl :: std :: marker :: Sync for CoreWebView2WebResourceResponseReceivedEventArgs { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceResponseView ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WebResourceResponseView { type Vtable = ICoreWebView2WebResourceResponseView_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 871237131 ,46456 ,22168 , [ 181 ,65 ,254 ,248 ,127 ,231 ,254 ,114 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WebResourceResponseView_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WebResourceResponseView ( :: windows :: Object ) ; impl CoreWebView2WebResourceResponseView { pub fn Headers < > ( & self , ) -> :: windows :: Result < CoreWebView2HttpResponseHeaders > { let this = self ; unsafe { let mut result__ : < CoreWebView2HttpResponseHeaders as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < CoreWebView2HttpResponseHeaders > ( result__ ) } } pub fn StatusCode < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn ReasonPhrase < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn GetContentAsync < > ( & self , ) -> :: windows :: Result < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > > { let this = self ; unsafe { let mut result__ : < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: super :: super :: Windows :: Foundation :: IAsyncOperation :: < super :: super :: super :: super :: Windows :: Storage :: Streams :: IRandomAccessStream > > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WebResourceResponseView { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView;{33ee060b-b578-5698-b541-fef87fe7fe72})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WebResourceResponseView { type Vtable = ICoreWebView2WebResourceResponseView_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 871237131 ,46456 ,22168 , [ 181 ,65 ,254 ,248 ,127 ,231 ,254 ,114 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WebResourceResponseView { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WebResourceResponseView" ; } impl < > :: std :: convert :: From < CoreWebView2WebResourceResponseView > for :: windows :: Object { fn from ( value : CoreWebView2WebResourceResponseView ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WebResourceResponseView > for :: windows :: Object { fn from ( value : & CoreWebView2WebResourceResponseView ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WebResourceResponseView { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WebResourceResponseView { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WebResourceResponseView { } unsafe impl :: std :: marker :: Sync for CoreWebView2WebResourceResponseView { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WindowFeatures ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for ICoreWebView2WindowFeatures { type Vtable = ICoreWebView2WindowFeatures_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4001793750 ,1391 ,24070 , [ 130 ,79 ,78 ,42 ,36 ,193 ,193 ,214 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICoreWebView2WindowFeatures_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct CoreWebView2WindowFeatures ( :: windows :: Object ) ; impl CoreWebView2WindowFeatures { pub fn HasPosition < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn HasSize < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn Left < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Top < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Height < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Width < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn ShouldDisplayMenuBar < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn ShouldDisplayStatus < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn ShouldDisplayToolbar < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn ShouldDisplayScrollBars < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for CoreWebView2WindowFeatures { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures;{ee8686d6-056f-5e06-824f-4e2a24c1c1d6})" ) ; } unsafe impl :: windows :: Interface for CoreWebView2WindowFeatures { type Vtable = ICoreWebView2WindowFeatures_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4001793750 ,1391 ,24070 , [ 130 ,79 ,78 ,42 ,36 ,193 ,193 ,214 ] , ) ; } impl :: windows :: RuntimeName for CoreWebView2WindowFeatures { const NAME : & 'static str ="Microsoft.Web.WebView2.Core.CoreWebView2WindowFeatures" ; } impl < > :: std :: convert :: From < CoreWebView2WindowFeatures > for :: windows :: Object { fn from ( value : CoreWebView2WindowFeatures ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & CoreWebView2WindowFeatures > for :: windows :: Object { fn from ( value : & CoreWebView2WindowFeatures ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for CoreWebView2WindowFeatures { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a CoreWebView2WindowFeatures { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } unsafe impl :: std :: marker :: Send for CoreWebView2WindowFeatures { } unsafe impl :: std :: marker :: Sync for CoreWebView2WindowFeatures { } } } } } # [ 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 Foundation { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncInfo ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IAsyncInfo { type Vtable = IAsyncInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 54 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl < > IAsyncInfo { pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < AsyncStatus > { let this = self ; unsafe { let mut result__ : < AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = self ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IAsyncInfo { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{00000036-0000-0000-c000-000000000046}" ) ; } impl < > :: std :: convert :: From < IAsyncInfo > for :: windows :: Object { fn from ( value : IAsyncInfo ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IAsyncInfo > for :: windows :: Object { fn from ( value : & IAsyncInfo ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IAsyncInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IAsyncInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAsyncInfo_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut AsyncStatus ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: ErrorCode ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncAction ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IAsyncAction { type Vtable = IAsyncAction_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1516535814 ,33850 ,19881 , [ 134 ,91 ,157 ,38 ,229 ,223 ,173 ,123 ] , ) ; } impl < > IAsyncAction { pub fn SetCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , AsyncActionCompletedHandler > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Completed < > ( & self , ) -> :: windows :: Result < AsyncActionCompletedHandler > { let this = self ; unsafe { let mut result__ : < AsyncActionCompletedHandler as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncActionCompletedHandler > ( result__ ) } } pub fn GetResults < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < AsyncStatus > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn get ( & self ) -> :: windows :: Result < ( ) > { if self . Status ( ) ? == AsyncStatus :: Started { let ( waiter , signaler ) = :: windows :: Waiter :: new ( ) ; self . SetCompleted ( AsyncActionCompletedHandler :: new ( move | _sender , _args | { unsafe { signaler . signal ( ) ; } Ok ( ( ) ) } ) ) ? ; } self . GetResults ( ) } } unsafe impl < > :: windows :: RuntimeType for IAsyncAction { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{5a648006-843a-4da9-865b-9d26e5dfad7b}" ) ; } impl < > :: std :: future :: Future for IAsyncAction { type Output = :: windows :: Result < ( ) > ; fn poll ( self : :: std :: pin :: Pin < & mut Self > , context : & mut :: std :: task :: Context ) -> :: std :: task :: Poll < Self :: Output > { if self . Status ( ) ? == AsyncStatus :: Started { let waker = context . waker ( ) . clone ( ) ; let _ = self . SetCompleted ( AsyncActionCompletedHandler :: new ( move | _sender , _args | { waker . wake_by_ref ( ) ; Ok ( ( ) ) } ) ) ; :: std :: task :: Poll :: Pending } else { :: std :: task :: Poll :: Ready ( self . GetResults ( ) ) } } } impl < > :: std :: convert :: From < IAsyncAction > for :: windows :: Object { fn from ( value : IAsyncAction ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IAsyncAction > for :: windows :: Object { fn from ( value : & IAsyncAction ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IAsyncAction { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IAsyncAction { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IAsyncAction > for IAsyncInfo { fn from ( value : IAsyncAction ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IAsyncAction > for IAsyncInfo { fn from ( value : & IAsyncAction ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IAsyncInfo > for IAsyncAction { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IAsyncInfo > for & 'a IAsyncAction { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl < > :: std :: marker :: Send for IAsyncAction { } unsafe impl < > :: std :: marker :: Sync for IAsyncAction { } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAsyncAction_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) where ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AsyncStatus ( pub i32 ) ; impl AsyncStatus { pub const Canceled : Self = Self ( 2i32 ) ; pub const Completed : Self = Self ( 1i32 ) ; pub const Error : Self = Self ( 3i32 ) ; pub const Started : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for AsyncStatus { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AsyncStatus { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for AsyncStatus { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Windows.Foundation.AsyncStatus;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncActionCompletedHandler ( :: windows :: IUnknown , ) where ; impl < > AsyncActionCompletedHandler { pub fn new < F : FnMut ( & :: std :: option :: Option < IAsyncAction > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = AsyncActionCompletedHandler_box :: < F > { vtable : & AsyncActionCompletedHandler_box :: < F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , IAsyncAction > , > ( & self , asyncinfo : T0__ , asyncstatus : AsyncStatus , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , asyncinfo . into_param ( ) . abi ( ) , asyncstatus , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for AsyncActionCompletedHandler { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"delegate({a4ed5c81-76c9-40bd-8be6-b1d90fb20ae7})" ) ; } unsafe impl < > :: windows :: Interface for AsyncActionCompletedHandler { type Vtable = AsyncActionCompletedHandler_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2767019137 ,30409 ,16573 , [ 139 ,230 ,177 ,217 ,15 ,178 ,10 ,231 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncActionCompletedHandler_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode , ) where ; # [ repr ( C ) ] struct AsyncActionCompletedHandler_box < F : FnMut ( & :: std :: option :: Option < IAsyncAction > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > where { vtable : * const AsyncActionCompletedHandler_abi , invoke : F , count : :: windows :: RefCount , } impl < F : FnMut ( & :: std :: option :: Option < IAsyncAction > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > AsyncActionCompletedHandler_box :: < F > { const VTABLE : AsyncActionCompletedHandler_abi = AsyncActionCompletedHandler_abi ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < AsyncActionCompletedHandler as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { let _ = Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & asyncinfo as * const < IAsyncAction as :: windows :: Abi > :: Abi as * const < IAsyncAction as :: windows :: RuntimeType > :: DefaultType ) , asyncstatus , ) . into ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncActionWithProgressCompletedHandler < TProgress > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < TProgress > , ) where TProgress : :: windows :: RuntimeType + 'static , ; impl < TProgress : :: windows :: RuntimeType + 'static , > AsyncActionWithProgressCompletedHandler < TProgress > { pub fn new < F : FnMut ( & :: std :: option :: Option < IAsyncActionWithProgress < TProgress > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = AsyncActionWithProgressCompletedHandler_box :: < TProgress , F > { vtable : & AsyncActionWithProgressCompletedHandler_box :: < TProgress , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , IAsyncActionWithProgress < TProgress > > , > ( & self , asyncinfo : T0__ , asyncstatus : AsyncStatus , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , asyncinfo . into_param ( ) . abi ( ) , asyncstatus , ) . ok ( ) } } } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for AsyncActionWithProgressCompletedHandler < TProgress > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{9c029f91-cc84-44fd-ac26-0a6c4e555281}" ) . push_slice ( b";" ) . push_other ( < TProgress as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: windows :: Interface for AsyncActionWithProgressCompletedHandler < TProgress > { type Vtable = AsyncActionWithProgressCompletedHandler_abi < TProgress > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < AsyncActionWithProgressCompletedHandler < TProgress > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncActionWithProgressCompletedHandler_abi < TProgress > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TProgress > , ) where TProgress : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct AsyncActionWithProgressCompletedHandler_box < TProgress , F : FnMut ( & :: std :: option :: Option < IAsyncActionWithProgress < TProgress > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > where TProgress : :: windows :: RuntimeType + 'static , { vtable : * const AsyncActionWithProgressCompletedHandler_abi < TProgress > , invoke : F , count : :: windows :: RefCount , } impl < TProgress : :: windows :: RuntimeType + 'static , F : FnMut ( & :: std :: option :: Option < IAsyncActionWithProgress < TProgress > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > AsyncActionWithProgressCompletedHandler_box :: < TProgress , F > { const VTABLE : AsyncActionWithProgressCompletedHandler_abi < TProgress > = AsyncActionWithProgressCompletedHandler_abi :: < TProgress > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < TProgress > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < AsyncActionWithProgressCompletedHandler < TProgress > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & asyncinfo as * const < IAsyncActionWithProgress < TProgress > as :: windows :: Abi > :: Abi as * const < IAsyncActionWithProgress < TProgress > as :: windows :: RuntimeType > :: DefaultType ) , asyncstatus , ) . into ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncActionWithProgress < TProgress > ( :: windows :: Object , :: std :: marker :: PhantomData :: < TProgress > , ) where TProgress : :: windows :: RuntimeType + 'static , ; unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IAsyncActionWithProgress < TProgress > { type Vtable = IAsyncActionWithProgress_abi < TProgress > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IAsyncActionWithProgress < TProgress > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < TProgress : :: windows :: RuntimeType + 'static , > IAsyncActionWithProgress < TProgress > { pub fn SetProgress < 'a , T0__ : :: windows :: IntoParam < 'a , AsyncActionProgressHandler < TProgress > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Progress < > ( & self , ) -> :: windows :: Result < AsyncActionProgressHandler < TProgress > > { let this = self ; unsafe { let mut result__ : < AsyncActionProgressHandler < TProgress > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncActionProgressHandler < TProgress > > ( result__ ) } } pub fn SetCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , AsyncActionWithProgressCompletedHandler < TProgress > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Completed < > ( & self , ) -> :: windows :: Result < AsyncActionWithProgressCompletedHandler < TProgress > > { let this = self ; unsafe { let mut result__ : < AsyncActionWithProgressCompletedHandler < TProgress > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncActionWithProgressCompletedHandler < TProgress > > ( result__ ) } } pub fn GetResults < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < AsyncStatus > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn get ( & self ) -> :: windows :: Result < ( ) > { if self . Status ( ) ? == AsyncStatus :: Started { let ( waiter , signaler ) = :: windows :: Waiter :: new ( ) ; self . SetCompleted ( AsyncActionWithProgressCompletedHandler :: new ( move | _sender , _args | { unsafe { signaler . signal ( ) ; } Ok ( ( ) ) } ) ) ? ; } self . GetResults ( ) } } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IAsyncActionWithProgress < TProgress > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{1f6db258-e803-48a1-9546-eb7353398884}" ) . push_slice ( b";" ) . push_other ( < TProgress as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: future :: Future for IAsyncActionWithProgress < TProgress > { type Output = :: windows :: Result < ( ) > ; fn poll ( self : :: std :: pin :: Pin < & mut Self > , context : & mut :: std :: task :: Context ) -> :: std :: task :: Poll < Self :: Output > { if self . Status ( ) ? == AsyncStatus :: Started { let waker = context . waker ( ) . clone ( ) ; let _ = self . SetCompleted ( AsyncActionWithProgressCompletedHandler :: new ( move | _sender , _args | { waker . wake_by_ref ( ) ; Ok ( ( ) ) } ) ) ; :: std :: task :: Poll :: Pending } else { :: std :: task :: Poll :: Ready ( self . GetResults ( ) ) } } } impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IAsyncActionWithProgress < TProgress > > for :: windows :: Object { fn from ( value : IAsyncActionWithProgress < TProgress > ) -> Self { value . 0 } } impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IAsyncActionWithProgress < TProgress > > for :: windows :: Object { fn from ( value : & IAsyncActionWithProgress < TProgress > ) -> Self { value . 0 . clone ( ) } } impl < 'a , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IAsyncActionWithProgress < TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IAsyncActionWithProgress < TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IAsyncActionWithProgress < TProgress > > for IAsyncInfo { fn from ( value : IAsyncActionWithProgress < TProgress > ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IAsyncActionWithProgress < TProgress > > for IAsyncInfo { fn from ( value : & IAsyncActionWithProgress < TProgress > ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IAsyncInfo > for IAsyncActionWithProgress < TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( self ) ) } } impl < 'a , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IAsyncInfo > for & 'a IAsyncActionWithProgress < TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: marker :: Send for IAsyncActionWithProgress < TProgress > { } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: std :: marker :: Sync for IAsyncActionWithProgress < TProgress > { } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAsyncActionWithProgress_abi < TProgress > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TProgress > , ) where TProgress : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncActionProgressHandler < TProgress > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < TProgress > , ) where TProgress : :: windows :: RuntimeType + 'static , ; impl < TProgress : :: windows :: RuntimeType + 'static , > AsyncActionProgressHandler < TProgress > { pub fn new < F : FnMut ( & :: std :: option :: Option < IAsyncActionWithProgress < TProgress > > , & < TProgress as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = AsyncActionProgressHandler_box :: < TProgress , F > { vtable : & AsyncActionProgressHandler_box :: < TProgress , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , IAsyncActionWithProgress < TProgress > > , T1__ : :: windows :: IntoParam < 'a , TProgress > , > ( & self , asyncinfo : T0__ , progressinfo : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , asyncinfo . into_param ( ) . abi ( ) , progressinfo . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for AsyncActionProgressHandler < TProgress > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{6d844858-0cff-4590-ae89-95a5a5c8b4b8}" ) . push_slice ( b";" ) . push_other ( < TProgress as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < TProgress : :: windows :: RuntimeType + 'static , > :: windows :: Interface for AsyncActionProgressHandler < TProgress > { type Vtable = AsyncActionProgressHandler_abi < TProgress > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < AsyncActionProgressHandler < TProgress > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncActionProgressHandler_abi < TProgress > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , progressinfo : < TProgress as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TProgress > , ) where TProgress : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct AsyncActionProgressHandler_box < TProgress , F : FnMut ( & :: std :: option :: Option < IAsyncActionWithProgress < TProgress > > , & < TProgress as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > where TProgress : :: windows :: RuntimeType + 'static , { vtable : * const AsyncActionProgressHandler_abi < TProgress > , invoke : F , count : :: windows :: RefCount , } impl < TProgress : :: windows :: RuntimeType + 'static , F : FnMut ( & :: std :: option :: Option < IAsyncActionWithProgress < TProgress > > , & < TProgress as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > AsyncActionProgressHandler_box :: < TProgress , F > { const VTABLE : AsyncActionProgressHandler_abi < TProgress > = AsyncActionProgressHandler_abi :: < TProgress > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < TProgress > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < AsyncActionProgressHandler < TProgress > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , progressinfo : < TProgress as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & asyncinfo as * const < IAsyncActionWithProgress < TProgress > as :: windows :: Abi > :: Abi as * const < IAsyncActionWithProgress < TProgress > as :: windows :: RuntimeType > :: DefaultType ) , & * ( & progressinfo as * const < TProgress as :: windows :: Abi > :: Abi as * const < TProgress as :: windows :: RuntimeType > :: DefaultType ) , ) . into ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncOperation < TResult > ( :: windows :: Object , :: std :: marker :: PhantomData :: < TResult > , ) where TResult : :: windows :: RuntimeType + 'static , ; unsafe impl < TResult : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IAsyncOperation < TResult > { type Vtable = IAsyncOperation_abi < TResult > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IAsyncOperation < TResult > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < TResult : :: windows :: RuntimeType + 'static , > IAsyncOperation < TResult > { pub fn SetCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , AsyncOperationCompletedHandler < TResult > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Completed < > ( & self , ) -> :: windows :: Result < AsyncOperationCompletedHandler < TResult > > { let this = self ; unsafe { let mut result__ : < AsyncOperationCompletedHandler < TResult > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncOperationCompletedHandler < TResult > > ( result__ ) } } pub fn GetResults < > ( & self , ) -> :: windows :: Result < TResult > { let this = self ; unsafe { let mut result__ : < TResult as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < TResult > ( result__ ) } } pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < AsyncStatus > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn get ( & self ) -> :: windows :: Result < TResult > { if self . Status ( ) ? == AsyncStatus :: Started { let ( waiter , signaler ) = :: windows :: Waiter :: new ( ) ; self . SetCompleted ( AsyncOperationCompletedHandler :: new ( move | _sender , _args | { unsafe { signaler . signal ( ) ; } Ok ( ( ) ) } ) ) ? ; } self . GetResults ( ) } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IAsyncOperation < TResult > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{9fc2b0bb-e446-44e2-aa61-9cab8f636af2}" ) . push_slice ( b";" ) . push_other ( < TResult as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: future :: Future for IAsyncOperation < TResult > { type Output = :: windows :: Result < TResult > ; fn poll ( self : :: std :: pin :: Pin < & mut Self > , context : & mut :: std :: task :: Context ) -> :: std :: task :: Poll < Self :: Output > { if self . Status ( ) ? == AsyncStatus :: Started { let waker = context . waker ( ) . clone ( ) ; let _ = self . SetCompleted ( AsyncOperationCompletedHandler :: new ( move | _sender , _args | { waker . wake_by_ref ( ) ; Ok ( ( ) ) } ) ) ; :: std :: task :: Poll :: Pending } else { :: std :: task :: Poll :: Ready ( self . GetResults ( ) ) } } } impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IAsyncOperation < TResult > > for :: windows :: Object { fn from ( value : IAsyncOperation < TResult > ) -> Self { value . 0 } } impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IAsyncOperation < TResult > > for :: windows :: Object { fn from ( value : & IAsyncOperation < TResult > ) -> Self { value . 0 . clone ( ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IAsyncOperation < TResult > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IAsyncOperation < TResult > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IAsyncOperation < TResult > > for IAsyncInfo { fn from ( value : IAsyncOperation < TResult > ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IAsyncOperation < TResult > > for IAsyncInfo { fn from ( value : & IAsyncOperation < TResult > ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IAsyncInfo > for IAsyncOperation < TResult > { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( self ) ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IAsyncInfo > for & 'a IAsyncOperation < TResult > { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: marker :: Send for IAsyncOperation < TResult > { } unsafe impl < TResult : :: windows :: RuntimeType + 'static , > :: std :: marker :: Sync for IAsyncOperation < TResult > { } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAsyncOperation_abi < TResult > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut < TResult as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TResult > , ) where TResult : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncOperationCompletedHandler < TResult > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < TResult > , ) where TResult : :: windows :: RuntimeType + 'static , ; impl < TResult : :: windows :: RuntimeType + 'static , > AsyncOperationCompletedHandler < TResult > { pub fn new < F : FnMut ( & :: std :: option :: Option < IAsyncOperation < TResult > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = AsyncOperationCompletedHandler_box :: < TResult , F > { vtable : & AsyncOperationCompletedHandler_box :: < TResult , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , IAsyncOperation < TResult > > , > ( & self , asyncinfo : T0__ , asyncstatus : AsyncStatus , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , asyncinfo . into_param ( ) . abi ( ) , asyncstatus , ) . ok ( ) } } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for AsyncOperationCompletedHandler < TResult > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{fcdcf02c-e5d8-4478-915a-4d90b74b83a5}" ) . push_slice ( b";" ) . push_other ( < TResult as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < TResult : :: windows :: RuntimeType + 'static , > :: windows :: Interface for AsyncOperationCompletedHandler < TResult > { type Vtable = AsyncOperationCompletedHandler_abi < TResult > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < AsyncOperationCompletedHandler < TResult > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncOperationCompletedHandler_abi < TResult > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TResult > , ) where TResult : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct AsyncOperationCompletedHandler_box < TResult , F : FnMut ( & :: std :: option :: Option < IAsyncOperation < TResult > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > where TResult : :: windows :: RuntimeType + 'static , { vtable : * const AsyncOperationCompletedHandler_abi < TResult > , invoke : F , count : :: windows :: RefCount , } impl < TResult : :: windows :: RuntimeType + 'static , F : FnMut ( & :: std :: option :: Option < IAsyncOperation < TResult > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > AsyncOperationCompletedHandler_box :: < TResult , F > { const VTABLE : AsyncOperationCompletedHandler_abi < TResult > = AsyncOperationCompletedHandler_abi :: < TResult > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < TResult > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < AsyncOperationCompletedHandler < TResult > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & asyncinfo as * const < IAsyncOperation < TResult > as :: windows :: Abi > :: Abi as * const < IAsyncOperation < TResult > as :: windows :: RuntimeType > :: DefaultType ) , asyncstatus , ) . into ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncOperationWithProgressCompletedHandler < TResult , TProgress > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < TResult > , :: std :: marker :: PhantomData :: < TProgress > , ) where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , ; impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > AsyncOperationWithProgressCompletedHandler < TResult , TProgress > { pub fn new < F : FnMut ( & :: std :: option :: Option < IAsyncOperationWithProgress < TResult , TProgress > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = AsyncOperationWithProgressCompletedHandler_box :: < TResult , TProgress , F > { vtable : & AsyncOperationWithProgressCompletedHandler_box :: < TResult , TProgress , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , IAsyncOperationWithProgress < TResult , TProgress > > , > ( & self , asyncinfo : T0__ , asyncstatus : AsyncStatus , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , asyncinfo . into_param ( ) . abi ( ) , asyncstatus , ) . ok ( ) } } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for AsyncOperationWithProgressCompletedHandler < TResult , TProgress > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{e85df41d-6aa7-46e3-a8e2-f009d840c627}" ) . push_slice ( b";" ) . push_other ( < TResult as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b";" ) . push_other ( < TProgress as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: Interface for AsyncOperationWithProgressCompletedHandler < TResult , TProgress > { type Vtable = AsyncOperationWithProgressCompletedHandler_abi < TResult , TProgress > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < AsyncOperationWithProgressCompletedHandler < TResult , TProgress > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncOperationWithProgressCompletedHandler_abi < TResult , TProgress > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TResult > , pub :: std :: marker :: PhantomData :: < TProgress > , ) where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct AsyncOperationWithProgressCompletedHandler_box < TResult , TProgress , F : FnMut ( & :: std :: option :: Option < IAsyncOperationWithProgress < TResult , TProgress > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , { vtable : * const AsyncOperationWithProgressCompletedHandler_abi < TResult , TProgress > , invoke : F , count : :: windows :: RefCount , } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , F : FnMut ( & :: std :: option :: Option < IAsyncOperationWithProgress < TResult , TProgress > > , AsyncStatus ) -> :: windows :: Result < ( ) > + 'static > AsyncOperationWithProgressCompletedHandler_box :: < TResult , TProgress , F > { const VTABLE : AsyncOperationWithProgressCompletedHandler_abi < TResult , TProgress > = AsyncOperationWithProgressCompletedHandler_abi :: < TResult , TProgress > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < TResult > , :: std :: marker :: PhantomData :: < TProgress > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < AsyncOperationWithProgressCompletedHandler < TResult , TProgress > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , asyncstatus : AsyncStatus ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & asyncinfo as * const < IAsyncOperationWithProgress < TResult , TProgress > as :: windows :: Abi > :: Abi as * const < IAsyncOperationWithProgress < TResult , TProgress > as :: windows :: RuntimeType > :: DefaultType ) , asyncstatus , ) . into ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncOperationWithProgress < TResult , TProgress > ( :: windows :: Object , :: std :: marker :: PhantomData :: < TResult > , :: std :: marker :: PhantomData :: < TProgress > , ) where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , ; unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IAsyncOperationWithProgress < TResult , TProgress > { type Vtable = IAsyncOperationWithProgress_abi < TResult , TProgress > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IAsyncOperationWithProgress < TResult , TProgress > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > IAsyncOperationWithProgress < TResult , TProgress > { pub fn SetProgress < 'a , T0__ : :: windows :: IntoParam < 'a , AsyncOperationProgressHandler < TResult , TProgress > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Progress < > ( & self , ) -> :: windows :: Result < AsyncOperationProgressHandler < TResult , TProgress > > { let this = self ; unsafe { let mut result__ : < AsyncOperationProgressHandler < TResult , TProgress > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncOperationProgressHandler < TResult , TProgress > > ( result__ ) } } pub fn SetCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , AsyncOperationWithProgressCompletedHandler < TResult , TProgress > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Completed < > ( & self , ) -> :: windows :: Result < AsyncOperationWithProgressCompletedHandler < TResult , TProgress > > { let this = self ; unsafe { let mut result__ : < AsyncOperationWithProgressCompletedHandler < TResult , TProgress > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncOperationWithProgressCompletedHandler < TResult , TProgress > > ( result__ ) } } pub fn GetResults < > ( & self , ) -> :: windows :: Result < TResult > { let this = self ; unsafe { let mut result__ : < TResult as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < TResult > ( result__ ) } } pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < AsyncStatus > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn get ( & self ) -> :: windows :: Result < TResult > { if self . Status ( ) ? == AsyncStatus :: Started { let ( waiter , signaler ) = :: windows :: Waiter :: new ( ) ; self . SetCompleted ( AsyncOperationWithProgressCompletedHandler :: new ( move | _sender , _args | { unsafe { signaler . signal ( ) ; } Ok ( ( ) ) } ) ) ? ; } self . GetResults ( ) } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IAsyncOperationWithProgress < TResult , TProgress > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{b5d036d7-e297-498f-ba60-0289e76e23dd}" ) . push_slice ( b";" ) . push_other ( < TResult as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b";" ) . push_other ( < TProgress as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: future :: Future for IAsyncOperationWithProgress < TResult , TProgress > { type Output = :: windows :: Result < TResult > ; fn poll ( self : :: std :: pin :: Pin < & mut Self > , context : & mut :: std :: task :: Context ) -> :: std :: task :: Poll < Self :: Output > { if self . Status ( ) ? == AsyncStatus :: Started { let waker = context . waker ( ) . clone ( ) ; let _ = self . SetCompleted ( AsyncOperationWithProgressCompletedHandler :: new ( move | _sender , _args | { waker . wake_by_ref ( ) ; Ok ( ( ) ) } ) ) ; :: std :: task :: Poll :: Pending } else { :: std :: task :: Poll :: Ready ( self . GetResults ( ) ) } } } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IAsyncOperationWithProgress < TResult , TProgress > > for :: windows :: Object { fn from ( value : IAsyncOperationWithProgress < TResult , TProgress > ) -> Self { value . 0 } } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IAsyncOperationWithProgress < TResult , TProgress > > for :: windows :: Object { fn from ( value : & IAsyncOperationWithProgress < TResult , TProgress > ) -> Self { value . 0 . clone ( ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IAsyncOperationWithProgress < TResult , TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IAsyncOperationWithProgress < TResult , TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IAsyncOperationWithProgress < TResult , TProgress > > for IAsyncInfo { fn from ( value : IAsyncOperationWithProgress < TResult , TProgress > ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IAsyncOperationWithProgress < TResult , TProgress > > for IAsyncInfo { fn from ( value : & IAsyncOperationWithProgress < TResult , TProgress > ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IAsyncInfo > for IAsyncOperationWithProgress < TResult , TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( self ) ) } } impl < 'a , TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IAsyncInfo > for & 'a IAsyncOperationWithProgress < TResult , TProgress > { fn into_param ( self ) -> :: windows :: Param < 'a , IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAsyncInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: marker :: Send for IAsyncOperationWithProgress < TResult , TProgress > { } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: std :: marker :: Sync for IAsyncOperationWithProgress < TResult , TProgress > { } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAsyncOperationWithProgress_abi < TResult , TProgress > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut < TResult as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TResult > , pub :: std :: marker :: PhantomData :: < TProgress > , ) where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncOperationProgressHandler < TResult , TProgress > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < TResult > , :: std :: marker :: PhantomData :: < TProgress > , ) where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , ; impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > AsyncOperationProgressHandler < TResult , TProgress > { pub fn new < F : FnMut ( & :: std :: option :: Option < IAsyncOperationWithProgress < TResult , TProgress > > , & < TProgress as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = AsyncOperationProgressHandler_box :: < TResult , TProgress , F > { vtable : & AsyncOperationProgressHandler_box :: < TResult , TProgress , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , IAsyncOperationWithProgress < TResult , TProgress > > , T1__ : :: windows :: IntoParam < 'a , TProgress > , > ( & self , asyncinfo : T0__ , progressinfo : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , asyncinfo . into_param ( ) . abi ( ) , progressinfo . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for AsyncOperationProgressHandler < TResult , TProgress > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{55690902-0aab-421a-8778-f8ce5026d758}" ) . push_slice ( b";" ) . push_other ( < TResult as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b";" ) . push_other ( < TProgress as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , > :: windows :: Interface for AsyncOperationProgressHandler < TResult , TProgress > { type Vtable = AsyncOperationProgressHandler_abi < TResult , TProgress > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < AsyncOperationProgressHandler < TResult , TProgress > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncOperationProgressHandler_abi < TResult , TProgress > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , progressinfo : < TProgress as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TResult > , pub :: std :: marker :: PhantomData :: < TProgress > , ) where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct AsyncOperationProgressHandler_box < TResult , TProgress , F : FnMut ( & :: std :: option :: Option < IAsyncOperationWithProgress < TResult , TProgress > > , & < TProgress as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > where TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , { vtable : * const AsyncOperationProgressHandler_abi < TResult , TProgress > , invoke : F , count : :: windows :: RefCount , } impl < TResult : :: windows :: RuntimeType + 'static , TProgress : :: windows :: RuntimeType + 'static , F : FnMut ( & :: std :: option :: Option < IAsyncOperationWithProgress < TResult , TProgress > > , & < TProgress as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > AsyncOperationProgressHandler_box :: < TResult , TProgress , F > { const VTABLE : AsyncOperationProgressHandler_abi < TResult , TProgress > = AsyncOperationProgressHandler_abi :: < TResult , TProgress > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < TResult > , :: std :: marker :: PhantomData :: < TProgress > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < AsyncOperationProgressHandler < TResult , TProgress > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , asyncinfo : :: windows :: RawPtr , progressinfo : < TProgress as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & asyncinfo as * const < IAsyncOperationWithProgress < TResult , TProgress > as :: windows :: Abi > :: Abi as * const < IAsyncOperationWithProgress < TResult , TProgress > as :: windows :: RuntimeType > :: DefaultType ) , & * ( & progressinfo as * const < TProgress as :: windows :: Abi > :: Abi as * const < TProgress as :: windows :: RuntimeType > :: DefaultType ) , ) . into ( ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DateTime { pub UniversalTime : i64 } impl DateTime { } impl :: std :: default :: Default for DateTime { fn default ( ) -> Self { Self { UniversalTime : 0 } } } impl :: std :: fmt :: Debug for DateTime { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DateTime" ) . field ( "UniversalTime" , & format_args ! ( "{:?}" , self . UniversalTime ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DateTime { fn eq ( & self , other : & Self ) -> bool { self . UniversalTime == other . UniversalTime } } impl :: std :: cmp :: Eq for DateTime { } unsafe impl :: windows :: Abi for DateTime { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for DateTime { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Windows.Foundation.DateTime;i8)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClosable ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IClosable { type Vtable = IClosable_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 819308585 ,32676 ,16422 , [ 131 ,187 ,215 ,91 ,174 ,78 ,169 ,158 ] , ) ; } impl < > IClosable { pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IClosable { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{30d5a829-7fa4-4026-83bb-d75bae4ea99e}" ) ; } impl < > :: std :: convert :: From < IClosable > for :: windows :: Object { fn from ( value : IClosable ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IClosable > for :: windows :: Object { fn from ( value : & IClosable ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IClosable { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IClosable { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IClosable_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IDeferral ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDeferral { type Vtable = IDeferral_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3592853298 ,15231 ,18087 , [ 180 ,11 ,79 ,220 ,162 ,162 ,198 ,147 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDeferral_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IDeferralFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDeferralFactory { type Vtable = IDeferralFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1705110725 ,16309 ,18482 , [ 140 ,169 ,240 ,97 ,178 ,129 ,209 ,58 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDeferralFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct Deferral ( :: windows :: Object ) ; impl Deferral { pub fn Complete < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Create < 'a , T0__ : :: windows :: IntoParam < 'a , DeferralCompletedHandler > , > ( handler : T0__ , ) -> :: windows :: Result < Deferral > { Self :: IDeferralFactory ( | this | unsafe { let mut result__ : < Deferral as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < Deferral > ( result__ ) } ) } fn IDeferralFactory < R , F : FnOnce ( & IDeferralFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < Deferral , IDeferralFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for Deferral { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Foundation.Deferral;{d6269732-3b7f-46a7-b40b-4fdca2a2c693})" ) ; } unsafe impl :: windows :: Interface for Deferral { type Vtable = IDeferral_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3592853298 ,15231 ,18087 , [ 180 ,11 ,79 ,220 ,162 ,162 ,198 ,147 ] , ) ; } impl :: windows :: RuntimeName for Deferral { const NAME : & 'static str ="Windows.Foundation.Deferral" ; } impl < > :: std :: convert :: From < Deferral > for :: windows :: Object { fn from ( value : Deferral ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & Deferral > for :: windows :: Object { fn from ( value : & Deferral ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for Deferral { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a Deferral { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < Deferral > for IClosable { fn from ( value : Deferral ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & Deferral > for IClosable { fn from ( value : & Deferral ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for Deferral { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for & 'a Deferral { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for Deferral { } unsafe impl :: std :: marker :: Sync for Deferral { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct DeferralCompletedHandler ( :: windows :: IUnknown , ) where ; impl < > DeferralCompletedHandler { pub fn new < F : FnMut ( ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = DeferralCompletedHandler_box :: < F > { vtable : & DeferralCompletedHandler_box :: < F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < > ( & self , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for DeferralCompletedHandler { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"delegate({ed32a372-f3c8-4faa-9cfb-470148da3888})" ) ; } unsafe impl < > :: windows :: Interface for DeferralCompletedHandler { type Vtable = DeferralCompletedHandler_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3979518834 ,62408 ,20394 , [ 156 ,251 ,71 ,1 ,72 ,218 ,56 ,136 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct DeferralCompletedHandler_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , ) where ; # [ repr ( C ) ] struct DeferralCompletedHandler_box < F : FnMut ( ) -> :: windows :: Result < ( ) > + 'static > where { vtable : * const DeferralCompletedHandler_abi , invoke : F , count : :: windows :: RefCount , } impl < F : FnMut ( ) -> :: windows :: Result < ( ) > + 'static > DeferralCompletedHandler_box :: < F > { const VTABLE : DeferralCompletedHandler_abi = DeferralCompletedHandler_abi ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < DeferralCompletedHandler as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( ) . into ( ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct EventHandler < T > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; impl < T : :: windows :: RuntimeType + 'static , > EventHandler < T > { pub fn new < F : FnMut ( & :: std :: option :: Option < :: windows :: Object > , & < T as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = EventHandler_box :: < T , F > { vtable : & EventHandler_box :: < T , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Object > , T1__ : :: windows :: IntoParam < 'a , T > , > ( & self , sender : T0__ , args : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , sender . into_param ( ) . abi ( ) , args . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for EventHandler < T > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{9de1c535-6ae1-11e0-84e1-18a905bcc53f}" ) . push_slice ( b";" ) . push_other ( < T as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: Interface for EventHandler < T > { type Vtable = EventHandler_abi < T > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < EventHandler < T > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct EventHandler_abi < T > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 , args : < T as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct EventHandler_box < T , F : FnMut ( & :: std :: option :: Option < :: windows :: Object > , & < T as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > where T : :: windows :: RuntimeType + 'static , { vtable : * const EventHandler_abi < T > , invoke : F , count : :: windows :: RefCount , } impl < T : :: windows :: RuntimeType + 'static , F : FnMut ( & :: std :: option :: Option < :: windows :: Object > , & < T as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > EventHandler_box :: < T , F > { const VTABLE : EventHandler_abi < T > = EventHandler_abi :: < T > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < T > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < EventHandler < T > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , sender : :: windows :: RawPtr , args : < T as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & sender as * const < :: windows :: Object as :: windows :: Abi > :: Abi as * const < :: windows :: Object as :: windows :: RuntimeType > :: DefaultType ) , & * ( & args as * const < T as :: windows :: Abi > :: Abi as * const < T as :: windows :: RuntimeType > :: DefaultType ) , ) . into ( ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct EventRegistrationToken { pub Value : i64 } impl EventRegistrationToken { } impl :: std :: default :: Default for EventRegistrationToken { fn default ( ) -> Self { Self { Value : 0 } } } impl :: std :: fmt :: Debug for EventRegistrationToken { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EventRegistrationToken" ) . field ( "Value" , & format_args ! ( "{:?}" , self . Value ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EventRegistrationToken { fn eq ( & self , other : & Self ) -> bool { self . Value == other . Value } } impl :: std :: cmp :: Eq for EventRegistrationToken { } unsafe impl :: windows :: Abi for EventRegistrationToken { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for EventRegistrationToken { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Windows.Foundation.EventRegistrationToken;i8)" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct FoundationContract ( pub u8 ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IGuidHelperStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IGuidHelperStatics { type Vtable = IGuidHelperStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1506252395 ,44626 ,21123 , [ 173 ,127 ,161 ,185 ,233 ,103 ,138 ,221 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IGuidHelperStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: Guid ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: Guid ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , target : & :: windows :: Guid , value : & :: windows :: Guid , result__ : * mut bool ) -> :: windows :: ErrorCode , ) where ; pub struct GuidHelper { } impl GuidHelper { pub fn CreateNewGuid < > ( ) -> :: windows :: Result < :: windows :: Guid > { Self :: IGuidHelperStatics ( | this | unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } ) } pub fn Empty < > ( ) -> :: windows :: Result < :: windows :: Guid > { Self :: IGuidHelperStatics ( | this | unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } ) } pub fn Equals < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Guid > , T1__ : :: windows :: IntoParam < 'a , :: windows :: Guid > , > ( target : T0__ , value : T1__ , ) -> :: windows :: Result < bool > { Self :: IGuidHelperStatics ( | this | unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & target . into_param ( ) . abi ( ) , & value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } ) } fn IGuidHelperStatics < R , F : FnOnce ( & IGuidHelperStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < GuidHelper , IGuidHelperStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } impl :: windows :: RuntimeName for GuidHelper { const NAME : & 'static str ="Windows.Foundation.GuidHelper" ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetActivationFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IGetActivationFactory { type Vtable = IGetActivationFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1323011810 ,38621 ,18855 , [ 148 ,247 ,70 ,7 ,221 ,171 ,142 ,60 ] , ) ; } impl < > IGetActivationFactory { pub fn GetActivationFactory < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , activatableclassid : T0__ , ) -> :: windows :: Result < :: windows :: Object > { let this = self ; unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , activatableclassid . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IGetActivationFactory { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{4edb8ee2-96dd-49a7-94f7-4607ddab8e3c}" ) ; } impl < > :: std :: convert :: From < IGetActivationFactory > for :: windows :: Object { fn from ( value : IGetActivationFactory ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IGetActivationFactory > for :: windows :: Object { fn from ( value : & IGetActivationFactory ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IGetActivationFactory { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IGetActivationFactory { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IGetActivationFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , activatableclassid : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMemoryBuffer ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IMemoryBuffer { type Vtable = IMemoryBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4223982890 ,9307 ,4580 , [ 175 ,152 ,104 ,148 ,35 ,38 ,12 ,248 ] , ) ; } impl < > IMemoryBuffer { pub fn CreateReference < > ( & self , ) -> :: windows :: Result < IMemoryBufferReference > { let this = self ; unsafe { let mut result__ : < IMemoryBufferReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IMemoryBufferReference > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IMemoryBuffer { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{fbc4dd2a-245b-11e4-af98-689423260cf8}" ) ; } impl < > :: std :: convert :: From < IMemoryBuffer > for :: windows :: Object { fn from ( value : IMemoryBuffer ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IMemoryBuffer > for :: windows :: Object { fn from ( value : & IMemoryBuffer ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IMemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IMemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IMemoryBuffer > for IClosable { fn from ( value : IMemoryBuffer ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IMemoryBuffer > for IClosable { fn from ( value : & IMemoryBuffer ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for IMemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for & 'a IMemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IMemoryBuffer_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IMemoryBufferFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IMemoryBufferFactory { type Vtable = IMemoryBufferFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4223982891 ,9307 ,4580 , [ 175 ,152 ,104 ,148 ,35 ,38 ,12 ,248 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IMemoryBufferFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , capacity : u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMemoryBufferReference ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IMemoryBufferReference { type Vtable = IMemoryBufferReference_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4223982889 ,9307 ,4580 , [ 175 ,152 ,104 ,148 ,35 ,38 ,12 ,248 ] , ) ; } impl < > IMemoryBufferReference { pub fn Capacity < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Closed < 'a , T0__ : :: windows :: IntoParam < 'a , TypedEventHandler < IMemoryBufferReference , :: windows :: Object > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < EventRegistrationToken > { let this = self ; unsafe { let mut result__ : < EventRegistrationToken as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < EventRegistrationToken > ( result__ ) } } pub fn RemoveClosed < 'a , T0__ : :: windows :: IntoParam < 'a , EventRegistrationToken > , > ( & self , cookie : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , cookie . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IMemoryBufferReference { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{fbc4dd29-245b-11e4-af98-689423260cf8}" ) ; } impl < > :: std :: convert :: From < IMemoryBufferReference > for :: windows :: Object { fn from ( value : IMemoryBufferReference ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IMemoryBufferReference > for :: windows :: Object { fn from ( value : & IMemoryBufferReference ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IMemoryBufferReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IMemoryBufferReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IMemoryBufferReference > for IClosable { fn from ( value : IMemoryBufferReference ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IMemoryBufferReference > for IClosable { fn from ( value : & IMemoryBufferReference ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for IMemoryBufferReference { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for & 'a IMemoryBufferReference { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IMemoryBufferReference_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , handler : :: windows :: RawPtr , result__ : * mut EventRegistrationToken ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cookie : EventRegistrationToken ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyValue ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IPropertyValue { type Vtable = IPropertyValue_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1272349405 ,30036 ,16617 , [ 154 ,155 ,130 ,101 ,78 ,222 ,126 ,98 ] , ) ; } impl < > IPropertyValue { pub fn Type < > ( & self , ) -> :: windows :: Result < PropertyType > { let this = self ; unsafe { let mut result__ : < PropertyType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < PropertyType > ( result__ ) } } pub fn IsNumericScalar < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetUInt8 < > ( & self , ) -> :: windows :: Result < u8 > { let this = self ; unsafe { let mut result__ : < u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u8 > ( result__ ) } } pub fn GetInt16 < > ( & self , ) -> :: windows :: Result < i16 > { let this = self ; unsafe { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } } pub fn GetUInt16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = self ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn GetInt32 < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn GetUInt32 < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn GetInt64 < > ( & self , ) -> :: windows :: Result < i64 > { let this = self ; unsafe { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } } pub fn GetUInt64 < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn GetSingle < > ( & self , ) -> :: windows :: Result < f32 > { let this = self ; unsafe { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } pub fn GetDouble < > ( & self , ) -> :: windows :: Result < f64 > { let this = self ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn GetChar16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = self ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn GetBoolean < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn GetGuid < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let this = self ; unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } pub fn GetDateTime < > ( & self , ) -> :: windows :: Result < DateTime > { let this = self ; unsafe { let mut result__ : < DateTime as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < DateTime > ( result__ ) } } pub fn GetTimeSpan < > ( & self , ) -> :: windows :: Result < TimeSpan > { let this = self ; unsafe { let mut result__ : < TimeSpan as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < TimeSpan > ( result__ ) } } pub fn GetPoint < > ( & self , ) -> :: windows :: Result < Point > { let this = self ; unsafe { let mut result__ : < Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Point > ( result__ ) } } pub fn GetSize < > ( & self , ) -> :: windows :: Result < Size > { let this = self ; unsafe { let mut result__ : < Size as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Size > ( result__ ) } } pub fn GetRect < > ( & self , ) -> :: windows :: Result < Rect > { let this = self ; unsafe { let mut result__ : < Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Rect > ( result__ ) } } pub fn GetUInt8Array < > ( & self , value : & mut :: windows :: Array < u8 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt16Array < > ( & self , value : & mut :: windows :: Array < i16 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt16Array < > ( & self , value : & mut :: windows :: Array < u16 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt32Array < > ( & self , value : & mut :: windows :: Array < i32 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt32Array < > ( & self , value : & mut :: windows :: Array < u32 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt64Array < > ( & self , value : & mut :: windows :: Array < i64 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt64Array < > ( & self , value : & mut :: windows :: Array < u64 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetSingleArray < > ( & self , value : & mut :: windows :: Array < f32 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetDoubleArray < > ( & self , value : & mut :: windows :: Array < f64 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetChar16Array < > ( & self , value : & mut :: windows :: Array < u16 > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetBooleanArray < > ( & self , value : & mut :: windows :: Array < bool > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetStringArray < > ( & self , value : & mut :: windows :: Array < :: windows :: HString > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInspectableArray < > ( & self , value : & mut :: windows :: Array < :: windows :: Object > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetGuidArray < > ( & self , value : & mut :: windows :: Array < :: windows :: Guid > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .39 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetDateTimeArray < > ( & self , value : & mut :: windows :: Array < DateTime > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .40 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetTimeSpanArray < > ( & self , value : & mut :: windows :: Array < TimeSpan > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .41 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetPointArray < > ( & self , value : & mut :: windows :: Array < Point > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .42 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetSizeArray < > ( & self , value : & mut :: windows :: Array < Size > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .43 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetRectArray < > ( & self , value : & mut :: windows :: Array < Rect > , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .44 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IPropertyValue { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{4bd682dd-7554-40e9-9a9b-82654ede7e62}" ) ; } impl < > :: std :: convert :: From < IPropertyValue > for :: windows :: Object { fn from ( value : IPropertyValue ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IPropertyValue > for :: windows :: Object { fn from ( value : & IPropertyValue ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IPropertyValue { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IPropertyValue { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPropertyValue_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut PropertyType ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u8 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: Guid ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut DateTime ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut TimeSpan ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut Size ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut Rect ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut u8 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut i16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut u16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut i64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut f32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut u16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut :: windows :: Guid ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut DateTime ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut TimeSpan ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut Point ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut Size ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : * mut u32 , value : * mut * mut Rect ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IPropertyValueStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IPropertyValueStatics { type Vtable = IPropertyValueStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1654381512 ,55602 ,20468 , [ 150 ,185 ,141 ,150 ,197 ,193 ,232 ,88 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPropertyValueStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u8 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i16 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u16 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u16 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: Guid , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : DateTime , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : TimeSpan , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : Point , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : Size , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : Rect , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const u8 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const i16 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const u16 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const i32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const i64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const u64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const f32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const f64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const u16 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const bool , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const :: windows :: Guid , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const DateTime , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const TimeSpan , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const Point , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const Size , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const Rect , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IReference < T > ( :: windows :: Object , :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IReference < T > { type Vtable = IReference_abi < T > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IReference < T > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < T : :: windows :: RuntimeType + 'static , > IReference < T > { pub fn Value < > ( & self , ) -> :: windows :: Result < T > { let this = self ; unsafe { let mut result__ : < T as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < T > ( result__ ) } } pub fn Type < > ( & self , ) -> :: windows :: Result < PropertyType > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < PropertyType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < PropertyType > ( result__ ) } } pub fn IsNumericScalar < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetUInt8 < > ( & self , ) -> :: windows :: Result < u8 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u8 > ( result__ ) } } pub fn GetInt16 < > ( & self , ) -> :: windows :: Result < i16 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } } pub fn GetUInt16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn GetInt32 < > ( & self , ) -> :: windows :: Result < i32 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn GetUInt32 < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn GetInt64 < > ( & self , ) -> :: windows :: Result < i64 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } } pub fn GetUInt64 < > ( & self , ) -> :: windows :: Result < u64 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn GetSingle < > ( & self , ) -> :: windows :: Result < f32 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } pub fn GetDouble < > ( & self , ) -> :: windows :: Result < f64 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn GetChar16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn GetBoolean < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn GetGuid < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } pub fn GetDateTime < > ( & self , ) -> :: windows :: Result < DateTime > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < DateTime as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < DateTime > ( result__ ) } } pub fn GetTimeSpan < > ( & self , ) -> :: windows :: Result < TimeSpan > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < TimeSpan as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < TimeSpan > ( result__ ) } } pub fn GetPoint < > ( & self , ) -> :: windows :: Result < Point > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Point > ( result__ ) } } pub fn GetSize < > ( & self , ) -> :: windows :: Result < Size > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Size as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Size > ( result__ ) } } pub fn GetRect < > ( & self , ) -> :: windows :: Result < Rect > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Rect > ( result__ ) } } pub fn GetUInt8Array < > ( & self , value : & mut :: windows :: Array < u8 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt16Array < > ( & self , value : & mut :: windows :: Array < i16 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt16Array < > ( & self , value : & mut :: windows :: Array < u16 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt32Array < > ( & self , value : & mut :: windows :: Array < i32 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt32Array < > ( & self , value : & mut :: windows :: Array < u32 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt64Array < > ( & self , value : & mut :: windows :: Array < i64 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt64Array < > ( & self , value : & mut :: windows :: Array < u64 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetSingleArray < > ( & self , value : & mut :: windows :: Array < f32 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetDoubleArray < > ( & self , value : & mut :: windows :: Array < f64 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetChar16Array < > ( & self , value : & mut :: windows :: Array < u16 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetBooleanArray < > ( & self , value : & mut :: windows :: Array < bool > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetStringArray < > ( & self , value : & mut :: windows :: Array < :: windows :: HString > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInspectableArray < > ( & self , value : & mut :: windows :: Array < :: windows :: Object > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetGuidArray < > ( & self , value : & mut :: windows :: Array < :: windows :: Guid > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .39 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetDateTimeArray < > ( & self , value : & mut :: windows :: Array < DateTime > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .40 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetTimeSpanArray < > ( & self , value : & mut :: windows :: Array < TimeSpan > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .41 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetPointArray < > ( & self , value : & mut :: windows :: Array < Point > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .42 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetSizeArray < > ( & self , value : & mut :: windows :: Array < Size > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .43 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetRectArray < > ( & self , value : & mut :: windows :: Array < Rect > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .44 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IReference < T > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{61c17706-2d65-11e0-9ae8-d48564015472}" ) . push_slice ( b";" ) . push_other ( < T as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IReference < T > > for :: windows :: Object { fn from ( value : IReference < T > ) -> Self { value . 0 } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IReference < T > > for :: windows :: Object { fn from ( value : & IReference < T > ) -> Self { value . 0 . clone ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IReference < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IReference < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IReference < T > > for IPropertyValue { fn from ( value : IReference < T > ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IReference < T > > for IPropertyValue { fn from ( value : & IReference < T > ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IPropertyValue > for IReference < T > { fn into_param ( self ) -> :: windows :: Param < 'a , IPropertyValue > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPropertyValue > :: into ( self ) ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IPropertyValue > for & 'a IReference < T > { fn into_param ( self ) -> :: windows :: Param < 'a , IPropertyValue > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPropertyValue > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IReference_abi < T > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut < T as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IReferenceArray < T > ( :: windows :: Object , :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IReferenceArray < T > { type Vtable = IReferenceArray_abi < T > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IReferenceArray < T > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < T : :: windows :: RuntimeType + 'static , > IReferenceArray < T > { pub fn Value < > ( & self , ) -> :: windows :: Result < :: windows :: Array < T > > { let this = self ; unsafe { let mut result__ : :: windows :: Array < T > = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , :: windows :: Array :: < T > :: set_abi_len ( & mut result__ ) , :: windows :: Array :: < T > :: set_abi ( & mut result__ ) ) . and_then ( || result__ ) } } pub fn Type < > ( & self , ) -> :: windows :: Result < PropertyType > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < PropertyType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < PropertyType > ( result__ ) } } pub fn IsNumericScalar < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetUInt8 < > ( & self , ) -> :: windows :: Result < u8 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u8 > ( result__ ) } } pub fn GetInt16 < > ( & self , ) -> :: windows :: Result < i16 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } } pub fn GetUInt16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn GetInt32 < > ( & self , ) -> :: windows :: Result < i32 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn GetUInt32 < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn GetInt64 < > ( & self , ) -> :: windows :: Result < i64 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } } pub fn GetUInt64 < > ( & self , ) -> :: windows :: Result < u64 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn GetSingle < > ( & self , ) -> :: windows :: Result < f32 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } pub fn GetDouble < > ( & self , ) -> :: windows :: Result < f64 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn GetChar16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn GetBoolean < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn GetGuid < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } pub fn GetDateTime < > ( & self , ) -> :: windows :: Result < DateTime > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < DateTime as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < DateTime > ( result__ ) } } pub fn GetTimeSpan < > ( & self , ) -> :: windows :: Result < TimeSpan > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < TimeSpan as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < TimeSpan > ( result__ ) } } pub fn GetPoint < > ( & self , ) -> :: windows :: Result < Point > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Point as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Point > ( result__ ) } } pub fn GetSize < > ( & self , ) -> :: windows :: Result < Size > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Size as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Size > ( result__ ) } } pub fn GetRect < > ( & self , ) -> :: windows :: Result < Rect > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Rect as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Rect > ( result__ ) } } pub fn GetUInt8Array < > ( & self , value : & mut :: windows :: Array < u8 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt16Array < > ( & self , value : & mut :: windows :: Array < i16 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt16Array < > ( & self , value : & mut :: windows :: Array < u16 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt32Array < > ( & self , value : & mut :: windows :: Array < i32 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt32Array < > ( & self , value : & mut :: windows :: Array < u32 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInt64Array < > ( & self , value : & mut :: windows :: Array < i64 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetUInt64Array < > ( & self , value : & mut :: windows :: Array < u64 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetSingleArray < > ( & self , value : & mut :: windows :: Array < f32 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetDoubleArray < > ( & self , value : & mut :: windows :: Array < f64 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetChar16Array < > ( & self , value : & mut :: windows :: Array < u16 > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetBooleanArray < > ( & self , value : & mut :: windows :: Array < bool > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetStringArray < > ( & self , value : & mut :: windows :: Array < :: windows :: HString > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetInspectableArray < > ( & self , value : & mut :: windows :: Array < :: windows :: Object > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetGuidArray < > ( & self , value : & mut :: windows :: Array < :: windows :: Guid > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .39 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetDateTimeArray < > ( & self , value : & mut :: windows :: Array < DateTime > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .40 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetTimeSpanArray < > ( & self , value : & mut :: windows :: Array < TimeSpan > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .41 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetPointArray < > ( & self , value : & mut :: windows :: Array < Point > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .42 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetSizeArray < > ( & self , value : & mut :: windows :: Array < Size > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .43 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } pub fn GetRectArray < > ( & self , value : & mut :: windows :: Array < Rect > , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IPropertyValue > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .44 ) ( :: windows :: Abi :: abi ( this ) , value . set_abi_len ( ) , value . set_abi ( ) , ) . ok ( ) } } } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IReferenceArray < T > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{61c17707-2d65-11e0-9ae8-d48564015472}" ) . push_slice ( b";" ) . push_other ( < T as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IReferenceArray < T > > for :: windows :: Object { fn from ( value : IReferenceArray < T > ) -> Self { value . 0 } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IReferenceArray < T > > for :: windows :: Object { fn from ( value : & IReferenceArray < T > ) -> Self { value . 0 . clone ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IReferenceArray < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IReferenceArray < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IReferenceArray < T > > for IPropertyValue { fn from ( value : IReferenceArray < T > ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IReferenceArray < T > > for IPropertyValue { fn from ( value : & IReferenceArray < T > ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IPropertyValue > for IReferenceArray < T > { fn into_param ( self ) -> :: windows :: Param < 'a , IPropertyValue > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPropertyValue > :: into ( self ) ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IPropertyValue > for & 'a IReferenceArray < T > { fn into_param ( self ) -> :: windows :: Param < 'a , IPropertyValue > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPropertyValue > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IReferenceArray_abi < T > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result_size__ : * mut u32 , result__ : * mut * mut < T as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IStringable ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IStringable { type Vtable = IStringable_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2520162132 ,36534 ,18672 , [ 171 ,206 ,193 ,178 ,17 ,230 ,39 ,195 ] , ) ; } impl < > IStringable { pub fn ToString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IStringable { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{96369f54-8eb6-48f0-abce-c1b211e627c3}" ) ; } impl < > :: std :: convert :: From < IStringable > for :: windows :: Object { fn from ( value : IStringable ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IStringable > for :: windows :: Object { fn from ( value : & IStringable ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IStringable { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IStringable { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IStringable_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IUriEscapeStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IUriEscapeStatics { type Vtable = IUriEscapeStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3251909306 ,51236 ,17490 , [ 167 ,253 ,81 ,43 ,195 ,187 ,233 ,161 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IUriEscapeStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , tounescape : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , toescape : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IUriRuntimeClass ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IUriRuntimeClass { type Vtable = IUriRuntimeClass_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2654363223 ,18610 ,16736 , [ 149 ,111 ,199 ,56 ,81 ,32 ,187 ,252 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IUriRuntimeClass_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , relativeuri : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IUriRuntimeClassFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IUriRuntimeClassFactory { type Vtable = IUriRuntimeClassFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1151957359 ,29246 ,20447 , [ 162 ,24 ,3 ,62 ,117 ,176 ,192 ,132 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IUriRuntimeClassFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uri : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , baseuri : :: windows :: RawPtr , relativeuri : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IUriRuntimeClassWithAbsoluteCanonicalUri ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IUriRuntimeClassWithAbsoluteCanonicalUri { type Vtable = IUriRuntimeClassWithAbsoluteCanonicalUri_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1972213345 ,8732 ,18447 , [ 163 ,57 ,80 ,101 ,102 ,115 ,244 ,111 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IUriRuntimeClassWithAbsoluteCanonicalUri_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWwwFormUrlDecoderEntry ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IWwwFormUrlDecoderEntry { type Vtable = IWwwFormUrlDecoderEntry_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 308180017 ,63096 ,20110 , [ 182 ,112 ,32 ,169 ,176 ,108 ,81 ,45 ] , ) ; } impl < > IWwwFormUrlDecoderEntry { pub fn Name < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Value < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IWwwFormUrlDecoderEntry { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{125e7431-f678-4e8e-b670-20a9b06c512d}" ) ; } impl < > :: std :: convert :: From < IWwwFormUrlDecoderEntry > for :: windows :: Object { fn from ( value : IWwwFormUrlDecoderEntry ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IWwwFormUrlDecoderEntry > for :: windows :: Object { fn from ( value : & IWwwFormUrlDecoderEntry ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IWwwFormUrlDecoderEntry { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IWwwFormUrlDecoderEntry { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IWwwFormUrlDecoderEntry_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IWwwFormUrlDecoderRuntimeClass ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IWwwFormUrlDecoderRuntimeClass { type Vtable = IWwwFormUrlDecoderRuntimeClass_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3562669137 ,61989 ,17730 , [ 146 ,150 ,14 ,29 ,245 ,210 ,84 ,223 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IWwwFormUrlDecoderRuntimeClass_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IWwwFormUrlDecoderRuntimeClassFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IWwwFormUrlDecoderRuntimeClassFactory { type Vtable = IWwwFormUrlDecoderRuntimeClassFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1535929149 ,9390 ,16821 , [ 161 ,191 ,240 ,195 ,213 ,68 ,132 ,91 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IWwwFormUrlDecoderRuntimeClassFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , query : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct MemoryBuffer ( :: windows :: Object ) ; impl MemoryBuffer { pub fn CreateReference < > ( & self , ) -> :: windows :: Result < IMemoryBufferReference > { let this = self ; unsafe { let mut result__ : < IMemoryBufferReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IMemoryBufferReference > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Create < > ( capacity : u32 , ) -> :: windows :: Result < MemoryBuffer > { Self :: IMemoryBufferFactory ( | this | unsafe { let mut result__ : < MemoryBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , capacity , & mut result__ ) . from_abi :: < MemoryBuffer > ( result__ ) } ) } fn IMemoryBufferFactory < R , F : FnOnce ( & IMemoryBufferFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < MemoryBuffer , IMemoryBufferFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for MemoryBuffer { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Foundation.MemoryBuffer;{fbc4dd2a-245b-11e4-af98-689423260cf8})" ) ; } unsafe impl :: windows :: Interface for MemoryBuffer { type Vtable = IMemoryBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4223982890 ,9307 ,4580 , [ 175 ,152 ,104 ,148 ,35 ,38 ,12 ,248 ] , ) ; } impl :: windows :: RuntimeName for MemoryBuffer { const NAME : & 'static str ="Windows.Foundation.MemoryBuffer" ; } impl < > :: std :: convert :: From < MemoryBuffer > for :: windows :: Object { fn from ( value : MemoryBuffer ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & MemoryBuffer > for :: windows :: Object { fn from ( value : & MemoryBuffer ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for MemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a MemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < MemoryBuffer > for IMemoryBuffer { fn from ( value : MemoryBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & MemoryBuffer > for IMemoryBuffer { fn from ( value : & MemoryBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IMemoryBuffer > for MemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IMemoryBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IMemoryBuffer > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IMemoryBuffer > for & 'a MemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IMemoryBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IMemoryBuffer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < MemoryBuffer > for IClosable { fn from ( value : MemoryBuffer ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & MemoryBuffer > for IClosable { fn from ( value : & MemoryBuffer ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for MemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IClosable > for & 'a MemoryBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for MemoryBuffer { } unsafe impl :: std :: marker :: Sync for MemoryBuffer { } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct Point { pub X : f32 , pub Y : f32 } impl Point { } impl :: std :: default :: Default for Point { fn default ( ) -> Self { Self { X : 0.0 , Y : 0.0 } } } impl :: std :: fmt :: Debug for Point { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "Point" ) . field ( "X" , & format_args ! ( "{:?}" , self . X ) ) . field ( "Y" , & format_args ! ( "{:?}" , 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 ; } unsafe impl :: windows :: RuntimeType for Point { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Windows.Foundation.Point;f4;f4)" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PropertyType ( pub i32 ) ; impl PropertyType { pub const Empty : Self = Self ( 0i32 ) ; pub const UInt8 : Self = Self ( 1i32 ) ; pub const Int16 : Self = Self ( 2i32 ) ; pub const UInt16 : Self = Self ( 3i32 ) ; pub const Int32 : Self = Self ( 4i32 ) ; pub const UInt32 : Self = Self ( 5i32 ) ; pub const Int64 : Self = Self ( 6i32 ) ; pub const UInt64 : Self = Self ( 7i32 ) ; pub const Single : Self = Self ( 8i32 ) ; pub const Double : Self = Self ( 9i32 ) ; pub const Char16 : Self = Self ( 10i32 ) ; pub const Boolean : Self = Self ( 11i32 ) ; pub const String : Self = Self ( 12i32 ) ; pub const Inspectable : Self = Self ( 13i32 ) ; pub const DateTime : Self = Self ( 14i32 ) ; pub const TimeSpan : Self = Self ( 15i32 ) ; pub const Guid : Self = Self ( 16i32 ) ; pub const Point : Self = Self ( 17i32 ) ; pub const Size : Self = Self ( 18i32 ) ; pub const Rect : Self = Self ( 19i32 ) ; pub const OtherType : Self = Self ( 20i32 ) ; pub const UInt8Array : Self = Self ( 1025i32 ) ; pub const Int16Array : Self = Self ( 1026i32 ) ; pub const UInt16Array : Self = Self ( 1027i32 ) ; pub const Int32Array : Self = Self ( 1028i32 ) ; pub const UInt32Array : Self = Self ( 1029i32 ) ; pub const Int64Array : Self = Self ( 1030i32 ) ; pub const UInt64Array : Self = Self ( 1031i32 ) ; pub const SingleArray : Self = Self ( 1032i32 ) ; pub const DoubleArray : Self = Self ( 1033i32 ) ; pub const Char16Array : Self = Self ( 1034i32 ) ; pub const BooleanArray : Self = Self ( 1035i32 ) ; pub const StringArray : Self = Self ( 1036i32 ) ; pub const InspectableArray : Self = Self ( 1037i32 ) ; pub const DateTimeArray : Self = Self ( 1038i32 ) ; pub const TimeSpanArray : Self = Self ( 1039i32 ) ; pub const GuidArray : Self = Self ( 1040i32 ) ; pub const PointArray : Self = Self ( 1041i32 ) ; pub const SizeArray : Self = Self ( 1042i32 ) ; pub const RectArray : Self = Self ( 1043i32 ) ; pub const OtherTypeArray : Self = Self ( 1044i32 ) ; } impl :: std :: convert :: From < i32 > for PropertyType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PropertyType { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for PropertyType { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Windows.Foundation.PropertyType;i4)" ) ; } pub struct PropertyValue { } impl PropertyValue { pub fn CreateEmpty < > ( ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt8 < > ( value : u8 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInt16 < > ( value : i16 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt16 < > ( value : u16 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInt32 < > ( value : i32 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt32 < > ( value : u32 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInt64 < > ( value : i64 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt64 < > ( value : u64 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateSingle < > ( value : f32 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateDouble < > ( value : f64 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateChar16 < > ( value : u16 , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateBoolean < > ( value : bool , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , value , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInspectable < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Object > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateGuid < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Guid > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateDateTime < 'a , T0__ : :: windows :: IntoParam < 'a , DateTime > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateTimeSpan < 'a , T0__ : :: windows :: IntoParam < 'a , TimeSpan > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreatePoint < 'a , T0__ : :: windows :: IntoParam < 'a , Point > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateSize < 'a , T0__ : :: windows :: IntoParam < 'a , Size > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateRect < 'a , T0__ : :: windows :: IntoParam < 'a , Rect > , > ( value : T0__ , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt8Array < > ( value : & [ < u8 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInt16Array < > ( value : & [ < i16 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt16Array < > ( value : & [ < u16 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInt32Array < > ( value : & [ < i32 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt32Array < > ( value : & [ < u32 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInt64Array < > ( value : & [ < i64 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateUInt64Array < > ( value : & [ < u64 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateSingleArray < > ( value : & [ < f32 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .33 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateDoubleArray < > ( value : & [ < f64 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .34 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateChar16Array < > ( value : & [ < u16 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .35 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateBooleanArray < > ( value : & [ < bool as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .36 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateStringArray < > ( value : & [ < :: windows :: HString as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .37 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateInspectableArray < > ( value : & [ < :: windows :: Object as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .38 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateGuidArray < > ( value : & [ < :: windows :: Guid as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .39 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateDateTimeArray < > ( value : & [ < DateTime as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .40 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateTimeSpanArray < > ( value : & [ < TimeSpan as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .41 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreatePointArray < > ( value : & [ < Point as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .42 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateSizeArray < > ( value : & [ < Size as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .43 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } pub fn CreateRectArray < > ( value : & [ < Rect as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < :: windows :: Object > { Self :: IPropertyValueStatics ( | this | unsafe { let mut result__ : < :: windows :: Object as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .44 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , & mut result__ ) . from_abi :: < :: windows :: Object > ( result__ ) } ) } fn IPropertyValueStatics < R , F : FnOnce ( & IPropertyValueStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < PropertyValue , IPropertyValueStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } impl :: windows :: RuntimeName for PropertyValue { const NAME : & 'static str ="Windows.Foundation.PropertyValue" ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct Rect { pub X : f32 , pub Y : f32 , pub Width : f32 , pub Height : f32 } impl Rect { } impl :: std :: default :: Default for Rect { fn default ( ) -> Self { Self { X : 0.0 , Y : 0.0 , Width : 0.0 , Height : 0.0 } } } impl :: std :: fmt :: Debug for Rect { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "Rect" ) . field ( "X" , & format_args ! ( "{:?}" , self . X ) ) . field ( "Y" , & format_args ! ( "{:?}" , self . Y ) ) . field ( "Width" , & format_args ! ( "{:?}" , self . Width ) ) . field ( "Height" , & format_args ! ( "{:?}" , self . Height ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for Rect { fn eq ( & self , other : & Self ) -> bool { self . X == other . X && self . Y == other . Y && self . Width == other . Width && self . Height == other . Height } } impl :: std :: cmp :: Eq for Rect { } unsafe impl :: windows :: Abi for Rect { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for Rect { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Windows.Foundation.Rect;f4;f4;f4;f4)" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct Size { pub Width : f32 , pub Height : f32 } impl Size { } impl :: std :: default :: Default for Size { fn default ( ) -> Self { Self { Width : 0.0 , Height : 0.0 } } } impl :: std :: fmt :: Debug for Size { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "Size" ) . field ( "Width" , & format_args ! ( "{:?}" , self . Width ) ) . field ( "Height" , & format_args ! ( "{:?}" , self . Height ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for Size { fn eq ( & self , other : & Self ) -> bool { self . Width == other . Width && self . Height == other . Height } } impl :: std :: cmp :: Eq for Size { } unsafe impl :: windows :: Abi for Size { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for Size { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Windows.Foundation.Size;f4;f4)" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TimeSpan { pub Duration : i64 } impl TimeSpan { } impl :: std :: default :: Default for TimeSpan { fn default ( ) -> Self { Self { Duration : 0 } } } impl :: std :: fmt :: Debug for TimeSpan { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TimeSpan" ) . field ( "Duration" , & format_args ! ( "{:?}" , self . Duration ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TimeSpan { fn eq ( & self , other : & Self ) -> bool { self . Duration == other . Duration } } impl :: std :: cmp :: Eq for TimeSpan { } unsafe impl :: windows :: Abi for TimeSpan { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for TimeSpan { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"struct(Windows.Foundation.TimeSpan;i8)" ) ; } impl :: std :: convert :: From < :: std :: time :: Duration > for TimeSpan { fn from ( value : :: std :: time :: Duration ) -> Self { Self { Duration : ( value . as_nanos ( ) / 100 ) as i64 , } } } impl :: std :: convert :: From < TimeSpan > for :: std :: time :: Duration { fn from ( value : TimeSpan ) -> Self { :: std :: time :: Duration :: from_nanos ( ( value . Duration * 100 ) as u64 ) } } impl < 'a > :: windows :: IntoParam < 'a , TimeSpan > for :: std :: time :: Duration { fn into_param ( self ) -> :: windows :: Param < 'a , TimeSpan > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct TypedEventHandler < TSender , TResult > ( :: windows :: IUnknown , :: std :: marker :: PhantomData :: < TSender > , :: std :: marker :: PhantomData :: < TResult > , ) where TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , ; impl < TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , > TypedEventHandler < TSender , TResult > { pub fn new < F : FnMut ( & < TSender as :: windows :: RuntimeType > :: DefaultType , & < TResult as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > ( invoke : F ) -> Self { let com = TypedEventHandler_box :: < TSender , TResult , F > { vtable : & TypedEventHandler_box :: < TSender , TResult , F > :: VTABLE , count : :: windows :: RefCount :: new ( ) , invoke , } ; unsafe { std :: mem :: transmute ( :: std :: boxed :: Box :: new ( com ) ) } } pub fn Invoke < 'a , T0__ : :: windows :: IntoParam < 'a , TSender > , T1__ : :: windows :: IntoParam < 'a , TResult > , > ( & self , sender : T0__ , args : T1__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .3 ) ( :: windows :: Abi :: abi ( this ) , sender . into_param ( ) . abi ( ) , args . into_param ( ) . abi ( ) , ) . ok ( ) } } } unsafe impl < TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for TypedEventHandler < TSender , TResult > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{9de1c534-6ae1-11e0-84e1-18a905bcc53f}" ) . push_slice ( b";" ) . push_other ( < TSender as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b";" ) . push_other ( < TResult as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } unsafe impl < TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , > :: windows :: Interface for TypedEventHandler < TSender , TResult > { type Vtable = TypedEventHandler_abi < TSender , TResult > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < TypedEventHandler < TSender , TResult > as :: windows :: RuntimeType > :: SIGNATURE ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct TypedEventHandler_abi < TSender , TResult > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 : < TSender as :: windows :: Abi > :: Abi , args : < TResult as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < TSender > , pub :: std :: marker :: PhantomData :: < TResult > , ) where TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , ; # [ repr ( C ) ] struct TypedEventHandler_box < TSender , TResult , F : FnMut ( & < TSender as :: windows :: RuntimeType > :: DefaultType , & < TResult as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > where TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , { vtable : * const TypedEventHandler_abi < TSender , TResult > , invoke : F , count : :: windows :: RefCount , } impl < TSender : :: windows :: RuntimeType + 'static , TResult : :: windows :: RuntimeType + 'static , F : FnMut ( & < TSender as :: windows :: RuntimeType > :: DefaultType , & < TResult as :: windows :: RuntimeType > :: DefaultType ) -> :: windows :: Result < ( ) > + 'static > TypedEventHandler_box :: < TSender , TResult , F > { const VTABLE : TypedEventHandler_abi < TSender , TResult > = TypedEventHandler_abi :: < TSender , TResult > ( Self :: QueryInterface , Self :: AddRef , Self :: Release , Self :: Invoke , :: std :: marker :: PhantomData :: < TSender > , :: std :: marker :: PhantomData :: < TResult > , ) ; unsafe extern "system" fn QueryInterface ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; * interface = if iid == & < TypedEventHandler < TSender , TResult > as :: windows :: Interface > :: IID || iid == & < :: windows :: IUnknown as :: windows :: Interface > :: IID || iid == & < :: windows :: IAgileObject as :: windows :: Interface > :: IID { & mut ( * this ) . vtable as * mut _ as _ } else { :: std :: ptr :: null_mut ( ) } ; if ( * interface ) . is_null ( ) { :: windows :: ErrorCode :: E_NOINTERFACE } else { ( * this ) . count . add_ref ( ) ; :: windows :: ErrorCode :: S_OK } } unsafe extern "system" fn AddRef ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( * this ) . count . add_ref ( ) } unsafe extern "system" fn Release ( this : :: windows :: RawPtr ) -> u32 { let this = this as * mut :: windows :: RawPtr as * mut Self ; let remaining = ( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( this : :: windows :: RawPtr , sender : < TSender as :: windows :: Abi > :: Abi , args : < TResult as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode { let this = this as * mut :: windows :: RawPtr as * mut Self ; ( ( * this ) . invoke ) ( & * ( & sender as * const < TSender as :: windows :: Abi > :: Abi as * const < TSender as :: windows :: RuntimeType > :: DefaultType ) , & * ( & args as * const < TResult as :: windows :: Abi > :: Abi as * const < TResult as :: windows :: RuntimeType > :: DefaultType ) , ) . into ( ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct UniversalApiContract ( pub u8 ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct Uri ( :: windows :: Object ) ; impl Uri { pub fn AbsoluteUri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn DisplayUri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Domain < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Extension < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Fragment < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Host < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Password < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Path < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Query < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn QueryParsed < > ( & self , ) -> :: windows :: Result < WwwFormUrlDecoder > { let this = self ; unsafe { let mut result__ : < WwwFormUrlDecoder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < WwwFormUrlDecoder > ( result__ ) } } pub fn RawUri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn SchemeName < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn UserName < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Port < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn Suspicious < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn Equals < 'a , T0__ : :: windows :: IntoParam < 'a , Uri > , > ( & self , puri : T0__ , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , puri . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CombineUri < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , relativeuri : T0__ , ) -> :: windows :: Result < Uri > { let this = self ; unsafe { let mut result__ : < Uri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , relativeuri . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < Uri > ( result__ ) } } pub fn ToString < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = & :: windows :: Interface :: cast :: < IStringable > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn AbsoluteCanonicalUri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = & :: windows :: Interface :: cast :: < IUriRuntimeClassWithAbsoluteCanonicalUri > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn DisplayIri < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = & :: windows :: Interface :: cast :: < IUriRuntimeClassWithAbsoluteCanonicalUri > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn UnescapeComponent < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( tounescape : T0__ , ) -> :: windows :: Result < :: windows :: HString > { Self :: IUriEscapeStatics ( | this | unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , tounescape . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } ) } pub fn EscapeComponent < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( toescape : T0__ , ) -> :: windows :: Result < :: windows :: HString > { Self :: IUriEscapeStatics ( | this | unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , toescape . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } ) } pub fn CreateUri < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( uri : T0__ , ) -> :: windows :: Result < Uri > { Self :: IUriRuntimeClassFactory ( | this | unsafe { let mut result__ : < Uri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , uri . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < Uri > ( result__ ) } ) } pub fn CreateWithRelativeUri < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , T1__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( baseuri : T0__ , relativeuri : T1__ , ) -> :: windows :: Result < Uri > { Self :: IUriRuntimeClassFactory ( | this | unsafe { let mut result__ : < Uri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , baseuri . into_param ( ) . abi ( ) , relativeuri . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < Uri > ( result__ ) } ) } fn IUriEscapeStatics < R , F : FnOnce ( & IUriEscapeStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < Uri , IUriEscapeStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } fn IUriRuntimeClassFactory < R , F : FnOnce ( & IUriRuntimeClassFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < Uri , IUriRuntimeClassFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for Uri { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Foundation.Uri;{9e365e57-48b2-4160-956f-c7385120bbfc})" ) ; } unsafe impl :: windows :: Interface for Uri { type Vtable = IUriRuntimeClass_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2654363223 ,18610 ,16736 , [ 149 ,111 ,199 ,56 ,81 ,32 ,187 ,252 ] , ) ; } impl :: windows :: RuntimeName for Uri { const NAME : & 'static str ="Windows.Foundation.Uri" ; } impl < > :: std :: convert :: From < Uri > for :: windows :: Object { fn from ( value : Uri ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & Uri > for :: windows :: Object { fn from ( value : & Uri ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for Uri { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a Uri { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < Uri > for IStringable { fn from ( value : Uri ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & Uri > for IStringable { fn from ( value : & Uri ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IStringable > for Uri { fn into_param ( self ) -> :: windows :: Param < 'a , IStringable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IStringable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IStringable > for & 'a Uri { fn into_param ( self ) -> :: windows :: Param < 'a , IStringable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IStringable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for Uri { } unsafe impl :: std :: marker :: Sync for Uri { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct WwwFormUrlDecoder ( :: windows :: Object ) ; impl WwwFormUrlDecoder { pub fn GetFirstValueByName < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , name : T0__ , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , name . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn First < > ( & self , ) -> :: windows :: Result < Collections :: IIterator :: < IWwwFormUrlDecoderEntry > > { let this = & :: windows :: Interface :: cast :: < Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < Collections :: IIterator :: < IWwwFormUrlDecoderEntry > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < Collections :: IIterator :: < IWwwFormUrlDecoderEntry > > ( result__ ) } } pub fn GetAt < > ( & self , index : u32 , ) -> :: windows :: Result < IWwwFormUrlDecoderEntry > { let this = & :: windows :: Interface :: cast :: < Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < IWwwFormUrlDecoderEntry as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , index , & mut result__ ) . from_abi :: < IWwwFormUrlDecoderEntry > ( result__ ) } } pub fn Size < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn IndexOf < 'a , T0__ : :: windows :: IntoParam < 'a , IWwwFormUrlDecoderEntry > , > ( & self , value : T0__ , index : & mut u32 , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , index , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetMany < > ( & self , startindex : u32 , items : & mut [ < IWwwFormUrlDecoderEntry as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , startindex , items . len ( ) as u32 , :: std :: mem :: transmute_copy ( & items ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn CreateWwwFormUrlDecoder < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( query : T0__ , ) -> :: windows :: Result < WwwFormUrlDecoder > { Self :: IWwwFormUrlDecoderRuntimeClassFactory ( | this | unsafe { let mut result__ : < WwwFormUrlDecoder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , query . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < WwwFormUrlDecoder > ( result__ ) } ) } fn IWwwFormUrlDecoderRuntimeClassFactory < R , F : FnOnce ( & IWwwFormUrlDecoderRuntimeClassFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < WwwFormUrlDecoder , IWwwFormUrlDecoderRuntimeClassFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for WwwFormUrlDecoder { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Foundation.WwwFormUrlDecoder;{d45a0451-f225-4542-9296-0e1df5d254df})" ) ; } unsafe impl :: windows :: Interface for WwwFormUrlDecoder { type Vtable = IWwwFormUrlDecoderRuntimeClass_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3562669137 ,61989 ,17730 , [ 146 ,150 ,14 ,29 ,245 ,210 ,84 ,223 ] , ) ; } impl :: windows :: RuntimeName for WwwFormUrlDecoder { const NAME : & 'static str ="Windows.Foundation.WwwFormUrlDecoder" ; } impl < > :: std :: convert :: From < WwwFormUrlDecoder > for :: windows :: Object { fn from ( value : WwwFormUrlDecoder ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & WwwFormUrlDecoder > for :: windows :: Object { fn from ( value : & WwwFormUrlDecoder ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for WwwFormUrlDecoder { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a WwwFormUrlDecoder { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < WwwFormUrlDecoder > for Collections :: IIterable :: < IWwwFormUrlDecoderEntry > { fn from ( value : WwwFormUrlDecoder ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & WwwFormUrlDecoder > for Collections :: IIterable :: < IWwwFormUrlDecoderEntry > { fn from ( value : & WwwFormUrlDecoder ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > for WwwFormUrlDecoder { fn into_param ( self ) -> :: windows :: Param < 'a , Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > for & 'a WwwFormUrlDecoder { fn into_param ( self ) -> :: windows :: Param < 'a , Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < Collections :: IIterable :: < IWwwFormUrlDecoderEntry > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < WwwFormUrlDecoder > for Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > { fn from ( value : WwwFormUrlDecoder ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & WwwFormUrlDecoder > for Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > { fn from ( value : & WwwFormUrlDecoder ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > for WwwFormUrlDecoder { fn into_param ( self ) -> :: windows :: Param < 'a , Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > for & 'a WwwFormUrlDecoder { fn into_param ( self ) -> :: windows :: Param < 'a , Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < Collections :: IVectorView :: < IWwwFormUrlDecoderEntry > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for WwwFormUrlDecoder { } unsafe impl :: std :: marker :: Sync for WwwFormUrlDecoder { } impl < > :: std :: iter :: IntoIterator for WwwFormUrlDecoder { type Item = IWwwFormUrlDecoderEntry ; type IntoIter = Collections :: VectorViewIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { Collections :: VectorViewIterator :: new ( self . into ( ) ) } } impl < 'a , > :: std :: iter :: IntoIterator for & 'a WwwFormUrlDecoder { type Item = IWwwFormUrlDecoderEntry ; type IntoIter = Collections :: VectorViewIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { Collections :: VectorViewIterator :: new ( self . into ( ) ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct WwwFormUrlDecoderEntry ( :: windows :: Object ) ; impl WwwFormUrlDecoderEntry { pub fn Name < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn Value < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for WwwFormUrlDecoderEntry { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Foundation.WwwFormUrlDecoderEntry;{125e7431-f678-4e8e-b670-20a9b06c512d})" ) ; } unsafe impl :: windows :: Interface for WwwFormUrlDecoderEntry { type Vtable = IWwwFormUrlDecoderEntry_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 308180017 ,63096 ,20110 , [ 182 ,112 ,32 ,169 ,176 ,108 ,81 ,45 ] , ) ; } impl :: windows :: RuntimeName for WwwFormUrlDecoderEntry { const NAME : & 'static str ="Windows.Foundation.WwwFormUrlDecoderEntry" ; } impl < > :: std :: convert :: From < WwwFormUrlDecoderEntry > for :: windows :: Object { fn from ( value : WwwFormUrlDecoderEntry ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & WwwFormUrlDecoderEntry > for :: windows :: Object { fn from ( value : & WwwFormUrlDecoderEntry ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for WwwFormUrlDecoderEntry { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a WwwFormUrlDecoderEntry { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < WwwFormUrlDecoderEntry > for IWwwFormUrlDecoderEntry { fn from ( value : WwwFormUrlDecoderEntry ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & WwwFormUrlDecoderEntry > for IWwwFormUrlDecoderEntry { fn from ( value : & WwwFormUrlDecoderEntry ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IWwwFormUrlDecoderEntry > for WwwFormUrlDecoderEntry { fn into_param ( self ) -> :: windows :: Param < 'a , IWwwFormUrlDecoderEntry > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWwwFormUrlDecoderEntry > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IWwwFormUrlDecoderEntry > for & 'a WwwFormUrlDecoderEntry { fn into_param ( self ) -> :: windows :: Param < 'a , IWwwFormUrlDecoderEntry > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWwwFormUrlDecoderEntry > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for WwwFormUrlDecoderEntry { } unsafe impl :: std :: marker :: Sync for WwwFormUrlDecoderEntry { } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Collections { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IIterator < T > ( :: windows :: Object , :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IIterator < T > { type Vtable = IIterator_abi < T > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IIterator < T > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < T : :: windows :: RuntimeType + 'static , > IIterator < T > { pub fn Current < > ( & self , ) -> :: windows :: Result < T > { let this = self ; unsafe { let mut result__ : < T as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < T > ( result__ ) } } pub fn HasCurrent < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn MoveNext < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetMany < > ( & self , items : & mut [ < T as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , items . len ( ) as u32 , :: std :: mem :: transmute_copy ( & items ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IIterator < T > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{6a79e863-4300-459a-9966-cbb660963ee1}" ) . push_slice ( b";" ) . push_other ( < T as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IIterator < T > > for :: windows :: Object { fn from ( value : IIterator < T > ) -> Self { value . 0 } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IIterator < T > > for :: windows :: Object { fn from ( value : & IIterator < T > ) -> Self { value . 0 . clone ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IIterator < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IIterator < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < T : :: windows :: RuntimeType > :: std :: iter :: Iterator for IIterator < T > { type Item = T ; fn next ( & mut self ) -> :: std :: option :: Option < Self :: Item > { let result = self . Current ( ) . ok ( ) ; if result . is_some ( ) { self . MoveNext ( ) . ok ( ) ? ; } result } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IIterator_abi < T > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut < T as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , items_array_size : u32 , items : * mut < T as :: windows :: Abi > :: Abi , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IKeyValuePair < K , V > ( :: windows :: Object , :: std :: marker :: PhantomData :: < K > , :: std :: marker :: PhantomData :: < V > , ) where K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , ; unsafe impl < K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IKeyValuePair < K , V > { type Vtable = IKeyValuePair_abi < K , V > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IKeyValuePair < K , V > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > IKeyValuePair < K , V > { pub fn Key < > ( & self , ) -> :: windows :: Result < K > { let this = self ; unsafe { let mut result__ : < K as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < K > ( result__ ) } } pub fn Value < > ( & self , ) -> :: windows :: Result < V > { let this = self ; unsafe { let mut result__ : < V as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < V > ( result__ ) } } } unsafe impl < K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IKeyValuePair < K , V > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{02b51929-c1c4-4a7e-8940-0312b5c18500}" ) . push_slice ( b";" ) . push_other ( < K as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b";" ) . push_other ( < V as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IKeyValuePair < K , V > > for :: windows :: Object { fn from ( value : IKeyValuePair < K , V > ) -> Self { value . 0 } } impl < K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IKeyValuePair < K , V > > for :: windows :: Object { fn from ( value : & IKeyValuePair < K , V > ) -> Self { value . 0 . clone ( ) } } impl < 'a , K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IKeyValuePair < K , V > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IKeyValuePair < K , V > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IKeyValuePair_abi < K , V > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut < K as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut < V as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < K > , pub :: std :: marker :: PhantomData :: < V > , ) where K : :: windows :: RuntimeType + 'static , V : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IIterable < T > ( :: windows :: Object , :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IIterable < T > { type Vtable = IIterable_abi < T > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IIterable < T > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < T : :: windows :: RuntimeType + 'static , > IIterable < T > { pub fn First < > ( & self , ) -> :: windows :: Result < IIterator < T > > { let this = self ; unsafe { let mut result__ : < IIterator < T > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IIterator < T > > ( result__ ) } } } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IIterable < T > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{faa585ea-6214-4217-afda-7f46de5869b3}" ) . push_slice ( b";" ) . push_other ( < T as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IIterable < T > > for :: windows :: Object { fn from ( value : IIterable < T > ) -> Self { value . 0 } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IIterable < T > > for :: windows :: Object { fn from ( value : & IIterable < T > ) -> Self { value . 0 . clone ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IIterable < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IIterable < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < T : :: windows :: RuntimeType > :: std :: iter :: IntoIterator for IIterable < T > { type Item = T ; type IntoIter = IIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { self . First ( ) . unwrap ( ) } } impl < 'a , T : :: windows :: RuntimeType > :: std :: iter :: IntoIterator for & 'a IIterable < T > { type Item = T ; type IntoIter = IIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { self . First ( ) . unwrap ( ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IIterable_abi < T > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IVectorView < T > ( :: windows :: Object , :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: Interface for IVectorView < T > { type Vtable = IVectorView_abi < T > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < IVectorView < T > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl < T : :: windows :: RuntimeType + 'static , > IVectorView < T > { pub fn GetAt < > ( & self , index : u32 , ) -> :: windows :: Result < T > { let this = self ; unsafe { let mut result__ : < T as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , index , & mut result__ ) . from_abi :: < T > ( result__ ) } } pub fn Size < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn IndexOf < 'a , T0__ : :: windows :: IntoParam < 'a , T > , > ( & self , value : T0__ , index : & mut u32 , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , index , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn GetMany < > ( & self , startindex : u32 , items : & mut [ < T as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , startindex , items . len ( ) as u32 , :: std :: mem :: transmute_copy ( & items ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn First < > ( & self , ) -> :: windows :: Result < IIterator < T > > { let this = & :: windows :: Interface :: cast :: < IIterable < T > > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < IIterator < T > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IIterator < T > > ( result__ ) } } } unsafe impl < T : :: windows :: RuntimeType + 'static , > :: windows :: RuntimeType for IVectorView < T > { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = { :: windows :: ConstBuffer :: new ( ) . push_slice ( b"pinterface(" ) . push_slice ( b"{bbe1fa4c-b0e3-4583-baef-1f1b2e483e56}" ) . push_slice ( b";" ) . push_other ( < T as :: windows :: RuntimeType > :: SIGNATURE ) . push_slice ( b")" ) } ; } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IVectorView < T > > for :: windows :: Object { fn from ( value : IVectorView < T > ) -> Self { value . 0 } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IVectorView < T > > for :: windows :: Object { fn from ( value : & IVectorView < T > ) -> Self { value . 0 . clone ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for IVectorView < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IVectorView < T > { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < IVectorView < T > > for IIterable < T > { fn from ( value : IVectorView < T > ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < T : :: windows :: RuntimeType + 'static , > :: std :: convert :: From < & IVectorView < T > > for IIterable < T > { fn from ( value : & IVectorView < T > ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IIterable < T > > for IVectorView < T > { fn into_param ( self ) -> :: windows :: Param < 'a , IIterable < T > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IIterable < T > > :: into ( self ) ) } } impl < 'a , T : :: windows :: RuntimeType + 'static , > :: windows :: IntoParam < 'a , IIterable < T > > for & 'a IVectorView < T > { fn into_param ( self ) -> :: windows :: Param < 'a , IIterable < T > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IIterable < T > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } pub struct VectorViewIterator < T : :: windows :: RuntimeType + 'static > { vector : IVectorView < T > , current : u32 , size : u32 , } impl < T : :: windows :: RuntimeType > VectorViewIterator < T > { pub fn new ( vector : IVectorView < T > ) -> Self { let size = vector . Size ( ) . unwrap ( ) ; Self { vector , current : 0 , size } } } impl < T : :: windows :: RuntimeType > :: std :: iter :: Iterator for VectorViewIterator < T > { type Item = T ; fn next ( & mut self ) -> :: std :: option :: Option < Self :: Item > { if self . current >= self . size { return None ; } let result = self . vector . GetAt ( self . current ) ; self . current += 1 ; result . ok ( ) } } impl < T : :: windows :: RuntimeType > :: std :: iter :: IntoIterator for IVectorView < T > { type Item = T ; type IntoIter = VectorViewIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { VectorViewIterator :: new ( self ) } } impl < 'a , T : :: windows :: RuntimeType > :: std :: iter :: IntoIterator for & 'a IVectorView < T > { type Item = T ; type IntoIter = VectorViewIterator < Self :: Item > ; fn into_iter ( self ) -> Self :: IntoIter { VectorViewIterator :: new ( :: std :: clone :: Clone :: clone ( self ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IVectorView_abi < T > ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , index : u32 , result__ : * mut < T as :: windows :: Abi > :: Abi ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : < T as :: windows :: Abi > :: Abi , index : * mut u32 , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , startindex : u32 , items_array_size : u32 , items : * mut < T as :: windows :: Abi > :: Abi , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub :: std :: marker :: PhantomData :: < T > , ) where T : :: windows :: RuntimeType + 'static , ; } } # [ 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 Streams { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBuffer ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IBuffer { type Vtable = IBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821408 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl < > IBuffer { pub fn Capacity < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Length < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetLength < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IBuffer { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{905a0fe0-bc53-11df-8c49-001e4fc686da}" ) ; } impl < > :: std :: convert :: From < IBuffer > for :: windows :: Object { fn from ( value : IBuffer ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IBuffer > for :: windows :: Object { fn from ( value : & IBuffer ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IBuffer_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IBufferStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IBufferStatics { type Vtable = IBufferStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3909215835 ,55062 ,18266 , [ 169 ,10 ,175 ,114 ,41 ,177 ,231 ,65 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IBufferStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , input : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , input : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IBufferFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IBufferFactory { type Vtable = IBufferFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1907331405 ,49423 ,18507 , [ 188 ,80 ,20 ,188 ,98 ,59 ,58 ,39 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IBufferFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , capacity : u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct Buffer ( :: windows :: Object ) ; impl Buffer { pub fn Capacity < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Length < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn SetLength < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn Create < > ( capacity : u32 , ) -> :: windows :: Result < Buffer > { Self :: IBufferFactory ( | this | unsafe { let mut result__ : < Buffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , capacity , & mut result__ ) . from_abi :: < Buffer > ( result__ ) } ) } pub fn CreateCopyFromMemoryBuffer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: IMemoryBuffer > , > ( input : T0__ , ) -> :: windows :: Result < Buffer > { Self :: IBufferStatics ( | this | unsafe { let mut result__ : < Buffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , input . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < Buffer > ( result__ ) } ) } pub fn CreateMemoryBufferOverIBuffer < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( input : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: MemoryBuffer > { Self :: IBufferStatics ( | this | unsafe { let mut result__ : < super :: super :: Foundation :: MemoryBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , input . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: MemoryBuffer > ( result__ ) } ) } fn IBufferFactory < R , F : FnOnce ( & IBufferFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < Buffer , IBufferFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } fn IBufferStatics < R , F : FnOnce ( & IBufferStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < Buffer , IBufferStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for Buffer { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.Buffer;{905a0fe0-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for Buffer { type Vtable = IBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821408 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for Buffer { const NAME : & 'static str ="Windows.Storage.Streams.Buffer" ; } impl < > :: std :: convert :: From < Buffer > for :: windows :: Object { fn from ( value : Buffer ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & Buffer > for :: windows :: Object { fn from ( value : & Buffer ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for Buffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a Buffer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < Buffer > for IBuffer { fn from ( value : Buffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & Buffer > for IBuffer { fn from ( value : & Buffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IBuffer > for Buffer { fn into_param ( self ) -> :: windows :: Param < 'a , IBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IBuffer > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IBuffer > for & 'a Buffer { fn into_param ( self ) -> :: windows :: Param < 'a , IBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IBuffer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for Buffer { } unsafe impl :: std :: marker :: Sync for Buffer { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ByteOrder ( pub i32 ) ; impl ByteOrder { pub const LittleEndian : Self = Self ( 0i32 ) ; pub const BigEndian : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for ByteOrder { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ByteOrder { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for ByteOrder { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Windows.Storage.Streams.ByteOrder;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataReader ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDataReader { type Vtable = IDataReader_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3803512873 ,46273 ,17172 , [ 164 ,184 ,251 ,129 ,58 ,47 ,39 ,94 ] , ) ; } impl < > IDataReader { pub fn UnconsumedBufferLength < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn UnicodeEncoding < > ( & self , ) -> :: windows :: Result < UnicodeEncoding > { let this = self ; unsafe { let mut result__ : < UnicodeEncoding as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < UnicodeEncoding > ( result__ ) } } pub fn SetUnicodeEncoding < > ( & self , value : UnicodeEncoding , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ByteOrder < > ( & self , ) -> :: windows :: Result < ByteOrder > { let this = self ; unsafe { let mut result__ : < ByteOrder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < ByteOrder > ( result__ ) } } pub fn SetByteOrder < > ( & self , value : ByteOrder , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn InputStreamOptions < > ( & self , ) -> :: windows :: Result < InputStreamOptions > { let this = self ; unsafe { let mut result__ : < InputStreamOptions as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < InputStreamOptions > ( result__ ) } } pub fn SetInputStreamOptions < > ( & self , value : InputStreamOptions , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ReadByte < > ( & self , ) -> :: windows :: Result < u8 > { let this = self ; unsafe { let mut result__ : < u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u8 > ( result__ ) } } pub fn ReadBytes < > ( & self , value : & mut [ < u8 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute_copy ( & value ) , ) . ok ( ) } } pub fn ReadBuffer < > ( & self , length : u32 , ) -> :: windows :: Result < IBuffer > { let this = self ; unsafe { let mut result__ : < IBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , length , & mut result__ ) . from_abi :: < IBuffer > ( result__ ) } } pub fn ReadBoolean < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn ReadGuid < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let this = self ; unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } pub fn ReadInt16 < > ( & self , ) -> :: windows :: Result < i16 > { let this = self ; unsafe { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } } pub fn ReadInt32 < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn ReadInt64 < > ( & self , ) -> :: windows :: Result < i64 > { let this = self ; unsafe { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } } pub fn ReadUInt16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = self ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn ReadUInt32 < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn ReadUInt64 < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn ReadSingle < > ( & self , ) -> :: windows :: Result < f32 > { let this = self ; unsafe { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } pub fn ReadDouble < > ( & self , ) -> :: windows :: Result < f64 > { let this = self ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn ReadString < > ( & self , codeunitcount : u32 , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , codeunitcount , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn ReadDateTime < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: DateTime > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: DateTime as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: DateTime > ( result__ ) } } pub fn ReadTimeSpan < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: TimeSpan > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: TimeSpan as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: TimeSpan > ( result__ ) } } pub fn LoadAsync < > ( & self , count : u32 , ) -> :: windows :: Result < DataReaderLoadOperation > { let this = self ; unsafe { let mut result__ : < DataReaderLoadOperation as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , count , & mut result__ ) . from_abi :: < DataReaderLoadOperation > ( result__ ) } } pub fn DetachBuffer < > ( & self , ) -> :: windows :: Result < IBuffer > { let this = self ; unsafe { let mut result__ : < IBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IBuffer > ( result__ ) } } pub fn DetachStream < > ( & self , ) -> :: windows :: Result < IInputStream > { let this = self ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IDataReader { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{e2b50029-b4c1-4314-a4b8-fb813a2f275e}" ) ; } impl < > :: std :: convert :: From < IDataReader > for :: windows :: Object { fn from ( value : IDataReader ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IDataReader > for :: windows :: Object { fn from ( value : & IDataReader ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IDataReader { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IDataReader { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDataReader_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut UnicodeEncoding ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : UnicodeEncoding ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut ByteOrder ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : ByteOrder ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut InputStreamOptions ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : InputStreamOptions ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u8 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * mut u8 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , length : u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: Guid ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut i64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , codeunitcount : u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: Foundation :: DateTime ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut super :: super :: Foundation :: TimeSpan ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , count : u32 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IDataReaderFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDataReaderFactory { type Vtable = IDataReaderFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3612506183 ,22490 ,19989 , [ 145 ,76 ,6 ,128 ,102 ,153 ,160 ,152 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDataReaderFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , inputstream : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IDataReaderStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDataReaderStatics { type Vtable = IDataReaderStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 301776840 ,63802 ,18203 , [ 177 ,33 ,243 ,121 ,227 ,73 ,49 ,60 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDataReaderStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buffer : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct DataReader ( :: windows :: Object ) ; impl DataReader { pub fn UnconsumedBufferLength < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn UnicodeEncoding < > ( & self , ) -> :: windows :: Result < UnicodeEncoding > { let this = self ; unsafe { let mut result__ : < UnicodeEncoding as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < UnicodeEncoding > ( result__ ) } } pub fn SetUnicodeEncoding < > ( & self , value : UnicodeEncoding , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ByteOrder < > ( & self , ) -> :: windows :: Result < ByteOrder > { let this = self ; unsafe { let mut result__ : < ByteOrder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < ByteOrder > ( result__ ) } } pub fn SetByteOrder < > ( & self , value : ByteOrder , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn InputStreamOptions < > ( & self , ) -> :: windows :: Result < InputStreamOptions > { let this = self ; unsafe { let mut result__ : < InputStreamOptions as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < InputStreamOptions > ( result__ ) } } pub fn SetInputStreamOptions < > ( & self , value : InputStreamOptions , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ReadByte < > ( & self , ) -> :: windows :: Result < u8 > { let this = self ; unsafe { let mut result__ : < u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u8 > ( result__ ) } } pub fn ReadBytes < > ( & self , value : & mut [ < u8 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute_copy ( & value ) , ) . ok ( ) } } pub fn ReadBuffer < > ( & self , length : u32 , ) -> :: windows :: Result < IBuffer > { let this = self ; unsafe { let mut result__ : < IBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , length , & mut result__ ) . from_abi :: < IBuffer > ( result__ ) } } pub fn ReadBoolean < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn ReadGuid < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let this = self ; unsafe { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } pub fn ReadInt16 < > ( & self , ) -> :: windows :: Result < i16 > { let this = self ; unsafe { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } } pub fn ReadInt32 < > ( & self , ) -> :: windows :: Result < i32 > { let this = self ; unsafe { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } pub fn ReadInt64 < > ( & self , ) -> :: windows :: Result < i64 > { let this = self ; unsafe { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } } pub fn ReadUInt16 < > ( & self , ) -> :: windows :: Result < u16 > { let this = self ; unsafe { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } } pub fn ReadUInt32 < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn ReadUInt64 < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn ReadSingle < > ( & self , ) -> :: windows :: Result < f32 > { let this = self ; unsafe { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } pub fn ReadDouble < > ( & self , ) -> :: windows :: Result < f64 > { let this = self ; unsafe { let mut result__ : < f64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < f64 > ( result__ ) } } pub fn ReadString < > ( & self , codeunitcount : u32 , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , codeunitcount , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn ReadDateTime < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: DateTime > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: DateTime as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: DateTime > ( result__ ) } } pub fn ReadTimeSpan < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: TimeSpan > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: TimeSpan as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: TimeSpan > ( result__ ) } } pub fn LoadAsync < > ( & self , count : u32 , ) -> :: windows :: Result < DataReaderLoadOperation > { let this = self ; unsafe { let mut result__ : < DataReaderLoadOperation as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , count , & mut result__ ) . from_abi :: < DataReaderLoadOperation > ( result__ ) } } pub fn DetachBuffer < > ( & self , ) -> :: windows :: Result < IBuffer > { let this = self ; unsafe { let mut result__ : < IBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IBuffer > ( result__ ) } } pub fn DetachStream < > ( & self , ) -> :: windows :: Result < IInputStream > { let this = self ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn CreateDataReader < 'a , T0__ : :: windows :: IntoParam < 'a , IInputStream > , > ( inputstream : T0__ , ) -> :: windows :: Result < DataReader > { Self :: IDataReaderFactory ( | this | unsafe { let mut result__ : < DataReader as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , inputstream . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < DataReader > ( result__ ) } ) } pub fn FromBuffer < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( buffer : T0__ , ) -> :: windows :: Result < DataReader > { Self :: IDataReaderStatics ( | this | unsafe { let mut result__ : < DataReader as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < DataReader > ( result__ ) } ) } fn IDataReaderFactory < R , F : FnOnce ( & IDataReaderFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < DataReader , IDataReaderFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } fn IDataReaderStatics < R , F : FnOnce ( & IDataReaderStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < DataReader , IDataReaderStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for DataReader { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.DataReader;{e2b50029-b4c1-4314-a4b8-fb813a2f275e})" ) ; } unsafe impl :: windows :: Interface for DataReader { type Vtable = IDataReader_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3803512873 ,46273 ,17172 , [ 164 ,184 ,251 ,129 ,58 ,47 ,39 ,94 ] , ) ; } impl :: windows :: RuntimeName for DataReader { const NAME : & 'static str ="Windows.Storage.Streams.DataReader" ; } impl < > :: std :: convert :: From < DataReader > for :: windows :: Object { fn from ( value : DataReader ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & DataReader > for :: windows :: Object { fn from ( value : & DataReader ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for DataReader { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a DataReader { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < DataReader > for IDataReader { fn from ( value : DataReader ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & DataReader > for IDataReader { fn from ( value : & DataReader ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IDataReader > for DataReader { fn into_param ( self ) -> :: windows :: Param < 'a , IDataReader > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IDataReader > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IDataReader > for & 'a DataReader { fn into_param ( self ) -> :: windows :: Param < 'a , IDataReader > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IDataReader > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < DataReader > for super :: super :: Foundation :: IClosable { fn from ( value : DataReader ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & DataReader > for super :: super :: Foundation :: IClosable { fn from ( value : & DataReader ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for DataReader { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a DataReader { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for DataReader { } unsafe impl :: std :: marker :: Sync for DataReader { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct DataReaderLoadOperation ( :: windows :: Object ) ; impl DataReaderLoadOperation { pub fn SetCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Completed < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > > ( result__ ) } } pub fn GetResults < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: AsyncStatus > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn get ( & self ) -> :: windows :: Result < u32 > { if self . Status ( ) ? == super :: super :: Foundation :: AsyncStatus :: Started { let ( waiter , signaler ) = :: windows :: Waiter :: new ( ) ; self . SetCompleted ( super :: super :: Foundation :: AsyncOperationCompletedHandler :: new ( move | _sender , _args | { unsafe { signaler . signal ( ) ; } Ok ( ( ) ) } ) ) ? ; } self . GetResults ( ) } } unsafe impl :: windows :: RuntimeType for DataReaderLoadOperation { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.DataReaderLoadOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))" ) ; } unsafe impl :: windows :: Interface for DataReaderLoadOperation { type Vtable = super :: super :: Foundation :: IAsyncOperation_abi :: < u32 > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < super :: super :: Foundation :: IAsyncOperation :: < u32 > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl :: windows :: RuntimeName for DataReaderLoadOperation { const NAME : & 'static str ="Windows.Storage.Streams.DataReaderLoadOperation" ; } impl < > :: std :: future :: Future for DataReaderLoadOperation { type Output = :: windows :: Result < u32 > ; fn poll ( self : :: std :: pin :: Pin < & mut Self > , context : & mut :: std :: task :: Context ) -> :: std :: task :: Poll < Self :: Output > { if self . Status ( ) ? == super :: super :: Foundation :: AsyncStatus :: Started { let waker = context . waker ( ) . clone ( ) ; let _ = self . SetCompleted ( super :: super :: Foundation :: AsyncOperationCompletedHandler :: new ( move | _sender , _args | { waker . wake_by_ref ( ) ; Ok ( ( ) ) } ) ) ; :: std :: task :: Poll :: Pending } else { :: std :: task :: Poll :: Ready ( self . GetResults ( ) ) } } } impl < > :: std :: convert :: From < DataReaderLoadOperation > for :: windows :: Object { fn from ( value : DataReaderLoadOperation ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & DataReaderLoadOperation > for :: windows :: Object { fn from ( value : & DataReaderLoadOperation ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for DataReaderLoadOperation { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a DataReaderLoadOperation { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < DataReaderLoadOperation > for super :: super :: Foundation :: IAsyncOperation :: < u32 > { fn from ( value : DataReaderLoadOperation ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & DataReaderLoadOperation > for super :: super :: Foundation :: IAsyncOperation :: < u32 > { fn from ( value : & DataReaderLoadOperation ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > for DataReaderLoadOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncOperation :: < u32 > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > for & 'a DataReaderLoadOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncOperation :: < u32 > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < DataReaderLoadOperation > for super :: super :: Foundation :: IAsyncInfo { fn from ( value : DataReaderLoadOperation ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & DataReaderLoadOperation > for super :: super :: Foundation :: IAsyncInfo { fn from ( value : & DataReaderLoadOperation ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncInfo > for DataReaderLoadOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncInfo > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncInfo > for & 'a DataReaderLoadOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for DataReaderLoadOperation { } unsafe impl :: std :: marker :: Sync for DataReaderLoadOperation { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataWriter ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDataWriter { type Vtable = IDataWriter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1689817701 ,54081 ,18722 , [ 179 ,138 ,221 ,74 ,248 ,128 ,140 ,78 ] , ) ; } impl < > IDataWriter { pub fn UnstoredBufferLength < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn UnicodeEncoding < > ( & self , ) -> :: windows :: Result < UnicodeEncoding > { let this = self ; unsafe { let mut result__ : < UnicodeEncoding as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < UnicodeEncoding > ( result__ ) } } pub fn SetUnicodeEncoding < > ( & self , value : UnicodeEncoding , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ByteOrder < > ( & self , ) -> :: windows :: Result < ByteOrder > { let this = self ; unsafe { let mut result__ : < ByteOrder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < ByteOrder > ( result__ ) } } pub fn SetByteOrder < > ( & self , value : ByteOrder , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteByte < > ( & self , value : u8 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteBytes < > ( & self , value : & [ < u8 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , ) . ok ( ) } } pub fn WriteBuffer < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteBufferRange < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , start : u32 , count : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , start , count , ) . ok ( ) } } pub fn WriteBoolean < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteGuid < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Guid > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteInt16 < > ( & self , value : i16 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteInt32 < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteInt64 < > ( & self , value : i64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteUInt16 < > ( & self , value : u16 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteUInt32 < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteUInt64 < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteSingle < > ( & self , value : f32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteDouble < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteDateTime < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: DateTime > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteTimeSpan < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: TimeSpan > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn MeasureString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn StoreAsync < > ( & self , ) -> :: windows :: Result < DataWriterStoreOperation > { let this = self ; unsafe { let mut result__ : < DataWriterStoreOperation as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < DataWriterStoreOperation > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn DetachBuffer < > ( & self , ) -> :: windows :: Result < IBuffer > { let this = self ; unsafe { let mut result__ : < IBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IBuffer > ( result__ ) } } pub fn DetachStream < > ( & self , ) -> :: windows :: Result < IOutputStream > { let this = self ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IDataWriter { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{64b89265-d341-4922-b38a-dd4af8808c4e}" ) ; } impl < > :: std :: convert :: From < IDataWriter > for :: windows :: Object { fn from ( value : IDataWriter ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IDataWriter > for :: windows :: Object { fn from ( value : & IDataWriter ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IDataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IDataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDataWriter_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut UnicodeEncoding ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : UnicodeEncoding ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut ByteOrder ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : ByteOrder ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u8 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value_array_size : u32 , value : * const u8 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buffer : :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buffer : :: windows :: RawPtr , start : u32 , count : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: Guid ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : i64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u16 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : f64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: Foundation :: DateTime ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super :: super :: Foundation :: TimeSpan ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : :: windows :: RawPtr , result__ : * mut u32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IDataWriterFactory ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IDataWriterFactory { type Vtable = IDataWriterFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 864839618 ,35716 ,19499 , [ 156 ,80 ,123 ,135 ,103 ,132 ,122 ,31 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDataWriterFactory_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , outputstream : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct DataWriter ( :: windows :: Object ) ; impl DataWriter { pub fn new ( ) -> :: windows :: Result < Self > { Self :: IActivationFactory ( | f | f . activate_instance :: < Self > ( ) ) } fn IActivationFactory < R , F : FnOnce ( & :: windows :: IActivationFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < DataWriter , :: windows :: IActivationFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } pub fn UnstoredBufferLength < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn UnicodeEncoding < > ( & self , ) -> :: windows :: Result < UnicodeEncoding > { let this = self ; unsafe { let mut result__ : < UnicodeEncoding as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < UnicodeEncoding > ( result__ ) } } pub fn SetUnicodeEncoding < > ( & self , value : UnicodeEncoding , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn ByteOrder < > ( & self , ) -> :: windows :: Result < ByteOrder > { let this = self ; unsafe { let mut result__ : < ByteOrder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < ByteOrder > ( result__ ) } } pub fn SetByteOrder < > ( & self , value : ByteOrder , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteByte < > ( & self , value : u8 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteBytes < > ( & self , value : & [ < u8 as :: windows :: RuntimeType > :: DefaultType ] , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , value . len ( ) as u32 , :: std :: mem :: transmute ( value . as_ptr ( ) ) , ) . ok ( ) } } pub fn WriteBuffer < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteBufferRange < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , start : u32 , count : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , start , count , ) . ok ( ) } } pub fn WriteBoolean < > ( & self , value : bool , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .15 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteGuid < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: Guid > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .16 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteInt16 < > ( & self , value : i16 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .17 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteInt32 < > ( & self , value : i32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .18 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteInt64 < > ( & self , value : i64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .19 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteUInt16 < > ( & self , value : u16 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .20 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteUInt32 < > ( & self , value : u32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .21 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteUInt64 < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .22 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteSingle < > ( & self , value : f32 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .23 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteDouble < > ( & self , value : f64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .24 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn WriteDateTime < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: DateTime > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .25 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteTimeSpan < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: TimeSpan > , > ( & self , value : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .26 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn WriteString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .27 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn MeasureString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: HString > , > ( & self , value : T0__ , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .28 ) ( :: windows :: Abi :: abi ( this ) , value . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn StoreAsync < > ( & self , ) -> :: windows :: Result < DataWriterStoreOperation > { let this = self ; unsafe { let mut result__ : < DataWriterStoreOperation as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .29 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < DataWriterStoreOperation > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .30 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn DetachBuffer < > ( & self , ) -> :: windows :: Result < IBuffer > { let this = self ; unsafe { let mut result__ : < IBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .31 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IBuffer > ( result__ ) } } pub fn DetachStream < > ( & self , ) -> :: windows :: Result < IOutputStream > { let this = self ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .32 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn CreateDataWriter < 'a , T0__ : :: windows :: IntoParam < 'a , IOutputStream > , > ( outputstream : T0__ , ) -> :: windows :: Result < DataWriter > { Self :: IDataWriterFactory ( | this | unsafe { let mut result__ : < DataWriter as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , outputstream . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < DataWriter > ( result__ ) } ) } fn IDataWriterFactory < R , F : FnOnce ( & IDataWriterFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < DataWriter , IDataWriterFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for DataWriter { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.DataWriter;{64b89265-d341-4922-b38a-dd4af8808c4e})" ) ; } unsafe impl :: windows :: Interface for DataWriter { type Vtable = IDataWriter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1689817701 ,54081 ,18722 , [ 179 ,138 ,221 ,74 ,248 ,128 ,140 ,78 ] , ) ; } impl :: windows :: RuntimeName for DataWriter { const NAME : & 'static str ="Windows.Storage.Streams.DataWriter" ; } impl < > :: std :: convert :: From < DataWriter > for :: windows :: Object { fn from ( value : DataWriter ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & DataWriter > for :: windows :: Object { fn from ( value : & DataWriter ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for DataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a DataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < DataWriter > for IDataWriter { fn from ( value : DataWriter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & DataWriter > for IDataWriter { fn from ( value : & DataWriter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IDataWriter > for DataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , IDataWriter > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IDataWriter > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IDataWriter > for & 'a DataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , IDataWriter > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IDataWriter > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < DataWriter > for super :: super :: Foundation :: IClosable { fn from ( value : DataWriter ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & DataWriter > for super :: super :: Foundation :: IClosable { fn from ( value : & DataWriter ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for DataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a DataWriter { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for DataWriter { } unsafe impl :: std :: marker :: Sync for DataWriter { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct DataWriterStoreOperation ( :: windows :: Object ) ; impl DataWriterStoreOperation { pub fn SetCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > > , > ( & self , handler : T0__ , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , handler . into_param ( ) . abi ( ) , ) . ok ( ) } } pub fn Completed < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: AsyncOperationCompletedHandler :: < u32 > > ( result__ ) } } pub fn GetResults < > ( & self , ) -> :: windows :: Result < u32 > { let this = self ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Id < > ( & self , ) -> :: windows :: Result < u32 > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } pub fn Status < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: AsyncStatus > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: AsyncStatus as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: AsyncStatus > ( result__ ) } } pub fn ErrorCode < > ( & self , ) -> :: windows :: Result < :: windows :: ErrorCode > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: ErrorCode as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: ErrorCode > ( result__ ) } } pub fn Cancel < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IAsyncInfo > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn get ( & self ) -> :: windows :: Result < u32 > { if self . Status ( ) ? == super :: super :: Foundation :: AsyncStatus :: Started { let ( waiter , signaler ) = :: windows :: Waiter :: new ( ) ; self . SetCompleted ( super :: super :: Foundation :: AsyncOperationCompletedHandler :: new ( move | _sender , _args | { unsafe { signaler . signal ( ) ; } Ok ( ( ) ) } ) ) ? ; } self . GetResults ( ) } } unsafe impl :: windows :: RuntimeType for DataWriterStoreOperation { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.DataWriterStoreOperation;pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};u4))" ) ; } unsafe impl :: windows :: Interface for DataWriterStoreOperation { type Vtable = super :: super :: Foundation :: IAsyncOperation_abi :: < u32 > ; const IID : :: windows :: Guid = :: windows :: Guid :: from_signature ( < super :: super :: Foundation :: IAsyncOperation :: < u32 > as :: windows :: RuntimeType > :: SIGNATURE ) ; } impl :: windows :: RuntimeName for DataWriterStoreOperation { const NAME : & 'static str ="Windows.Storage.Streams.DataWriterStoreOperation" ; } impl < > :: std :: future :: Future for DataWriterStoreOperation { type Output = :: windows :: Result < u32 > ; fn poll ( self : :: std :: pin :: Pin < & mut Self > , context : & mut :: std :: task :: Context ) -> :: std :: task :: Poll < Self :: Output > { if self . Status ( ) ? == super :: super :: Foundation :: AsyncStatus :: Started { let waker = context . waker ( ) . clone ( ) ; let _ = self . SetCompleted ( super :: super :: Foundation :: AsyncOperationCompletedHandler :: new ( move | _sender , _args | { waker . wake_by_ref ( ) ; Ok ( ( ) ) } ) ) ; :: std :: task :: Poll :: Pending } else { :: std :: task :: Poll :: Ready ( self . GetResults ( ) ) } } } impl < > :: std :: convert :: From < DataWriterStoreOperation > for :: windows :: Object { fn from ( value : DataWriterStoreOperation ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & DataWriterStoreOperation > for :: windows :: Object { fn from ( value : & DataWriterStoreOperation ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for DataWriterStoreOperation { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a DataWriterStoreOperation { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < DataWriterStoreOperation > for super :: super :: Foundation :: IAsyncOperation :: < u32 > { fn from ( value : DataWriterStoreOperation ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & DataWriterStoreOperation > for super :: super :: Foundation :: IAsyncOperation :: < u32 > { fn from ( value : & DataWriterStoreOperation ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > for DataWriterStoreOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncOperation :: < u32 > > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > for & 'a DataWriterStoreOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncOperation :: < u32 > > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncOperation :: < u32 > > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < DataWriterStoreOperation > for super :: super :: Foundation :: IAsyncInfo { fn from ( value : DataWriterStoreOperation ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & DataWriterStoreOperation > for super :: super :: Foundation :: IAsyncInfo { fn from ( value : & DataWriterStoreOperation ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncInfo > for DataWriterStoreOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncInfo > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IAsyncInfo > for & 'a DataWriterStoreOperation { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IAsyncInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IAsyncInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for DataWriterStoreOperation { } unsafe impl :: std :: marker :: Sync for DataWriterStoreOperation { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInputStream ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IInputStream { type Vtable = IInputStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821410 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl < > IInputStream { pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IInputStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{905a0fe2-bc53-11df-8c49-001e4fc686da}" ) ; } impl < > :: std :: convert :: From < IInputStream > for :: windows :: Object { fn from ( value : IInputStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IInputStream > for :: windows :: Object { fn from ( value : & IInputStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IInputStream > for super :: super :: Foundation :: IClosable { fn from ( value : IInputStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IInputStream > for super :: super :: Foundation :: IClosable { fn from ( value : & IInputStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for IInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a IInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInputStream_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buffer : :: windows :: RawPtr , count : u32 , options : InputStreamOptions , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct FileInputStream ( :: windows :: Object ) ; impl FileInputStream { pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for FileInputStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.FileInputStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for FileInputStream { type Vtable = IInputStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821410 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for FileInputStream { const NAME : & 'static str ="Windows.Storage.Streams.FileInputStream" ; } impl < > :: std :: convert :: From < FileInputStream > for :: windows :: Object { fn from ( value : FileInputStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & FileInputStream > for :: windows :: Object { fn from ( value : & FileInputStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for FileInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a FileInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < FileInputStream > for IInputStream { fn from ( value : FileInputStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & FileInputStream > for IInputStream { fn from ( value : & FileInputStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for FileInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a FileInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < FileInputStream > for super :: super :: Foundation :: IClosable { fn from ( value : FileInputStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & FileInputStream > for super :: super :: Foundation :: IClosable { fn from ( value : & FileInputStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for FileInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a FileInputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for FileInputStream { } unsafe impl :: std :: marker :: Sync for FileInputStream { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FileOpenDisposition ( pub i32 ) ; impl FileOpenDisposition { pub const OpenExisting : Self = Self ( 0i32 ) ; pub const OpenAlways : Self = Self ( 1i32 ) ; pub const CreateNew : Self = Self ( 2i32 ) ; pub const CreateAlways : Self = Self ( 3i32 ) ; pub const TruncateExisting : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for FileOpenDisposition { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FileOpenDisposition { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for FileOpenDisposition { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Windows.Storage.Streams.FileOpenDisposition;i4)" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOutputStream ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IOutputStream { type Vtable = IOutputStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821414 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl < > IOutputStream { pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl < > :: windows :: RuntimeType for IOutputStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{905a0fe6-bc53-11df-8c49-001e4fc686da}" ) ; } impl < > :: std :: convert :: From < IOutputStream > for :: windows :: Object { fn from ( value : IOutputStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IOutputStream > for :: windows :: Object { fn from ( value : & IOutputStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IOutputStream > for super :: super :: Foundation :: IClosable { fn from ( value : IOutputStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IOutputStream > for super :: super :: Foundation :: IClosable { fn from ( value : & IOutputStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for IOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a IOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOutputStream_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buffer : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct FileOutputStream ( :: windows :: Object ) ; impl FileOutputStream { pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for FileOutputStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.FileOutputStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for FileOutputStream { type Vtable = IOutputStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821414 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for FileOutputStream { const NAME : & 'static str ="Windows.Storage.Streams.FileOutputStream" ; } impl < > :: std :: convert :: From < FileOutputStream > for :: windows :: Object { fn from ( value : FileOutputStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & FileOutputStream > for :: windows :: Object { fn from ( value : & FileOutputStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for FileOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a FileOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < FileOutputStream > for IOutputStream { fn from ( value : FileOutputStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & FileOutputStream > for IOutputStream { fn from ( value : & FileOutputStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for FileOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a FileOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < FileOutputStream > for super :: super :: Foundation :: IClosable { fn from ( value : FileOutputStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & FileOutputStream > for super :: super :: Foundation :: IClosable { fn from ( value : & FileOutputStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for FileOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a FileOutputStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for FileOutputStream { } unsafe impl :: std :: marker :: Sync for FileOutputStream { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRandomAccessStream ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IRandomAccessStream { type Vtable = IRandomAccessStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821409 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl < > IRandomAccessStream { pub fn Size < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn SetSize < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn GetInputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IInputStream > { let this = self ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } pub fn GetOutputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IOutputStream > { let this = self ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } pub fn Position < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn Seek < > ( & self , position : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , position , ) . ok ( ) } } pub fn CloneStream < > ( & self , ) -> :: windows :: Result < IRandomAccessStream > { let this = self ; unsafe { let mut result__ : < IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IRandomAccessStream > ( result__ ) } } pub fn CanRead < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CanWrite < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = & :: windows :: Interface :: cast :: < IInputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IRandomAccessStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{905a0fe1-bc53-11df-8c49-001e4fc686da}" ) ; } impl < > :: std :: convert :: From < IRandomAccessStream > for :: windows :: Object { fn from ( value : IRandomAccessStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IRandomAccessStream > for :: windows :: Object { fn from ( value : & IRandomAccessStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IRandomAccessStream > for super :: super :: Foundation :: IClosable { fn from ( value : IRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStream > for super :: super :: Foundation :: IClosable { fn from ( value : & IRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < IRandomAccessStream > for IInputStream { fn from ( value : IRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStream > for IInputStream { fn from ( value : & IRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < IRandomAccessStream > for IOutputStream { fn from ( value : IRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStream > for IOutputStream { fn from ( value : & IRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a IRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStream_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , position : u64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , position : u64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , position : u64 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut bool ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IFileRandomAccessStreamStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IFileRandomAccessStreamStatics { type Vtable = IFileRandomAccessStreamStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1934950663 ,15191 ,19293 , [ 131 ,69 ,85 ,77 ,47 ,198 ,33 ,240 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IFileRandomAccessStreamStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct FileRandomAccessStream ( :: windows :: Object ) ; impl FileRandomAccessStream { pub fn Size < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn SetSize < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn GetInputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IInputStream > { let this = self ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } pub fn GetOutputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IOutputStream > { let this = self ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } pub fn Position < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn Seek < > ( & self , position : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , position , ) . ok ( ) } } pub fn CloneStream < > ( & self , ) -> :: windows :: Result < IRandomAccessStream > { let this = self ; unsafe { let mut result__ : < IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IRandomAccessStream > ( result__ ) } } pub fn CanRead < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CanWrite < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = & :: windows :: Interface :: cast :: < IInputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } fn IFileRandomAccessStreamStatics < R , F : FnOnce ( & IFileRandomAccessStreamStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < FileRandomAccessStream , IFileRandomAccessStreamStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for FileRandomAccessStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.FileRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for FileRandomAccessStream { type Vtable = IRandomAccessStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821409 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for FileRandomAccessStream { const NAME : & 'static str ="Windows.Storage.Streams.FileRandomAccessStream" ; } impl < > :: std :: convert :: From < FileRandomAccessStream > for :: windows :: Object { fn from ( value : FileRandomAccessStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & FileRandomAccessStream > for :: windows :: Object { fn from ( value : & FileRandomAccessStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < FileRandomAccessStream > for IRandomAccessStream { fn from ( value : FileRandomAccessStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & FileRandomAccessStream > for IRandomAccessStream { fn from ( value : & FileRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for & 'a FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < FileRandomAccessStream > for super :: super :: Foundation :: IClosable { fn from ( value : FileRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & FileRandomAccessStream > for super :: super :: Foundation :: IClosable { fn from ( value : & FileRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < FileRandomAccessStream > for IInputStream { fn from ( value : FileRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & FileRandomAccessStream > for IInputStream { fn from ( value : & FileRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < FileRandomAccessStream > for IOutputStream { fn from ( value : FileRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & FileRandomAccessStream > for IOutputStream { fn from ( value : & FileRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a FileRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for FileRandomAccessStream { } unsafe impl :: std :: marker :: Sync for FileRandomAccessStream { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IContentTypeProvider ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IContentTypeProvider { type Vtable = IContentTypeProvider_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2547030181 ,15257 ,19945 , [ 136 ,165 ,225 ,29 ,47 ,80 ,199 ,149 ] , ) ; } impl < > IContentTypeProvider { pub fn ContentType < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = self ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IContentTypeProvider { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{97d098a5-3b99-4de9-88a5-e11d2f50c795}" ) ; } impl < > :: std :: convert :: From < IContentTypeProvider > for :: windows :: Object { fn from ( value : IContentTypeProvider ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IContentTypeProvider > for :: windows :: Object { fn from ( value : & IContentTypeProvider ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IContentTypeProvider { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IContentTypeProvider { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IContentTypeProvider_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInputStreamReference ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IInputStreamReference { type Vtable = IInputStreamReference_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1133681944 ,24265 ,19290 , [ 145 ,156 ,66 ,5 ,176 ,200 ,4 ,182 ] , ) ; } impl < > IInputStreamReference { pub fn OpenSequentialReadAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < IInputStream > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < IInputStream > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < IInputStream > > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IInputStreamReference { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{43929d18-5ec9-4b5a-919c-4205b0c804b6}" ) ; } impl < > :: std :: convert :: From < IInputStreamReference > for :: windows :: Object { fn from ( value : IInputStreamReference ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IInputStreamReference > for :: windows :: Object { fn from ( value : & IInputStreamReference ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IInputStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IInputStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInputStreamReference_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRandomAccessStreamReference ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IRandomAccessStreamReference { type Vtable = IRandomAccessStreamReference_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 871248180 ,7638 ,20026 , [ 128 ,103 ,209 ,193 ,98 ,232 ,100 ,43 ] , ) ; } impl < > IRandomAccessStreamReference { pub fn OpenReadAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < IRandomAccessStreamWithContentType > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < IRandomAccessStreamWithContentType > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < IRandomAccessStreamWithContentType > > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IRandomAccessStreamReference { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{33ee3134-1dd6-4e3a-8067-d1c162e8642b}" ) ; } impl < > :: std :: convert :: From < IRandomAccessStreamReference > for :: windows :: Object { fn from ( value : IRandomAccessStreamReference ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IRandomAccessStreamReference > for :: windows :: Object { fn from ( value : & IRandomAccessStreamReference ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IRandomAccessStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IRandomAccessStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStreamReference_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStreamReferenceStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IRandomAccessStreamReferenceStatics { type Vtable = IRandomAccessStreamReferenceStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2238908892 ,16319 ,20093 , [ 152 ,111 ,239 ,59 ,26 ,7 ,169 ,100 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStreamReferenceStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uri : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , stream : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStreamStatics ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IRandomAccessStreamStatics { type Vtable = IRandomAccessStreamStatics_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1380773327 ,28201 ,19685 , [ 149 ,115 ,107 ,117 ,61 ,182 ,108 ,58 ] , ) ; } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStreamStatics_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , source : :: windows :: RawPtr , destination : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , source : :: windows :: RawPtr , destination : :: windows :: RawPtr , bytestocopy : u64 , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , source : :: windows :: RawPtr , destination : :: windows :: RawPtr , result__ : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRandomAccessStreamWithContentType ( :: windows :: Object , ) where ; unsafe impl < > :: windows :: Interface for IRandomAccessStreamWithContentType { type Vtable = IRandomAccessStreamWithContentType_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3424995367 ,19261 ,17295 , [ 146 ,50 ,16 ,199 ,107 ,199 ,224 ,56 ] , ) ; } impl < > IRandomAccessStreamWithContentType { pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn ContentType < > ( & self , ) -> :: windows :: Result < :: windows :: HString > { let this = & :: windows :: Interface :: cast :: < IContentTypeProvider > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < :: windows :: HString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < :: windows :: HString > ( result__ ) } } pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = & :: windows :: Interface :: cast :: < IInputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn Size < > ( & self , ) -> :: windows :: Result < u64 > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn SetSize < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn GetInputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IInputStream > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } pub fn GetOutputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IOutputStream > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } pub fn Position < > ( & self , ) -> :: windows :: Result < u64 > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn Seek < > ( & self , position : u64 , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , position , ) . ok ( ) } } pub fn CloneStream < > ( & self , ) -> :: windows :: Result < IRandomAccessStream > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IRandomAccessStream > ( result__ ) } } pub fn CanRead < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CanWrite < > ( & self , ) -> :: windows :: Result < bool > { let this = & :: windows :: Interface :: cast :: < IRandomAccessStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } } unsafe impl < > :: windows :: RuntimeType for IRandomAccessStreamWithContentType { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"{cc254827-4b3d-438f-9232-10c76bc7e038}" ) ; } impl < > :: std :: convert :: From < IRandomAccessStreamWithContentType > for :: windows :: Object { fn from ( value : IRandomAccessStreamWithContentType ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & IRandomAccessStreamWithContentType > for :: windows :: Object { fn from ( value : & IRandomAccessStreamWithContentType ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < IRandomAccessStreamWithContentType > for super :: super :: Foundation :: IClosable { fn from ( value : IRandomAccessStreamWithContentType ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStreamWithContentType > for super :: super :: Foundation :: IClosable { fn from ( value : & IRandomAccessStreamWithContentType ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < IRandomAccessStreamWithContentType > for IContentTypeProvider { fn from ( value : IRandomAccessStreamWithContentType ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStreamWithContentType > for IContentTypeProvider { fn from ( value : & IRandomAccessStreamWithContentType ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IContentTypeProvider > for IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IContentTypeProvider > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IContentTypeProvider > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IContentTypeProvider > for & 'a IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IContentTypeProvider > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IContentTypeProvider > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < IRandomAccessStreamWithContentType > for IInputStream { fn from ( value : IRandomAccessStreamWithContentType ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStreamWithContentType > for IInputStream { fn from ( value : & IRandomAccessStreamWithContentType ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < IRandomAccessStreamWithContentType > for IOutputStream { fn from ( value : IRandomAccessStreamWithContentType ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStreamWithContentType > for IOutputStream { fn from ( value : & IRandomAccessStreamWithContentType ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < IRandomAccessStreamWithContentType > for IRandomAccessStream { fn from ( value : IRandomAccessStreamWithContentType ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & IRandomAccessStreamWithContentType > for IRandomAccessStream { fn from ( value : & IRandomAccessStreamWithContentType ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for & 'a IRandomAccessStreamWithContentType { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRandomAccessStreamWithContentType_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: windows :: ErrorCode , ) where ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct InMemoryRandomAccessStream ( :: windows :: Object ) ; impl InMemoryRandomAccessStream { pub fn new ( ) -> :: windows :: Result < Self > { Self :: IActivationFactory ( | f | f . activate_instance :: < Self > ( ) ) } fn IActivationFactory < R , F : FnOnce ( & :: windows :: IActivationFactory ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < InMemoryRandomAccessStream , :: windows :: IActivationFactory > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } pub fn Size < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn SetSize < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn GetInputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IInputStream > { let this = self ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } pub fn GetOutputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IOutputStream > { let this = self ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } pub fn Position < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn Seek < > ( & self , position : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , position , ) . ok ( ) } } pub fn CloneStream < > ( & self , ) -> :: windows :: Result < IRandomAccessStream > { let this = self ; unsafe { let mut result__ : < IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IRandomAccessStream > ( result__ ) } } pub fn CanRead < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CanWrite < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = & :: windows :: Interface :: cast :: < IInputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for InMemoryRandomAccessStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.InMemoryRandomAccessStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for InMemoryRandomAccessStream { type Vtable = IRandomAccessStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821409 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for InMemoryRandomAccessStream { const NAME : & 'static str ="Windows.Storage.Streams.InMemoryRandomAccessStream" ; } impl < > :: std :: convert :: From < InMemoryRandomAccessStream > for :: windows :: Object { fn from ( value : InMemoryRandomAccessStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & InMemoryRandomAccessStream > for :: windows :: Object { fn from ( value : & InMemoryRandomAccessStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < InMemoryRandomAccessStream > for IRandomAccessStream { fn from ( value : InMemoryRandomAccessStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & InMemoryRandomAccessStream > for IRandomAccessStream { fn from ( value : & InMemoryRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for & 'a InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < InMemoryRandomAccessStream > for super :: super :: Foundation :: IClosable { fn from ( value : InMemoryRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & InMemoryRandomAccessStream > for super :: super :: Foundation :: IClosable { fn from ( value : & InMemoryRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < InMemoryRandomAccessStream > for IInputStream { fn from ( value : InMemoryRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & InMemoryRandomAccessStream > for IInputStream { fn from ( value : & InMemoryRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < InMemoryRandomAccessStream > for IOutputStream { fn from ( value : InMemoryRandomAccessStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & InMemoryRandomAccessStream > for IOutputStream { fn from ( value : & InMemoryRandomAccessStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a InMemoryRandomAccessStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for InMemoryRandomAccessStream { } unsafe impl :: std :: marker :: Sync for InMemoryRandomAccessStream { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct InputStreamOptions ( pub u32 ) ; impl InputStreamOptions { pub const None : Self = Self ( 0u32 ) ; pub const Partial : Self = Self ( 1u32 ) ; pub const ReadAhead : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for InputStreamOptions { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for InputStreamOptions { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for InputStreamOptions { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Windows.Storage.Streams.InputStreamOptions;u4)" ) ; } impl :: std :: ops :: BitOr for InputStreamOptions { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for InputStreamOptions { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for InputStreamOptions { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for InputStreamOptions { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct InputStreamOverStream ( :: windows :: Object ) ; impl InputStreamOverStream { pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for InputStreamOverStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.InputStreamOverStream;{905a0fe2-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for InputStreamOverStream { type Vtable = IInputStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821410 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for InputStreamOverStream { const NAME : & 'static str ="Windows.Storage.Streams.InputStreamOverStream" ; } impl < > :: std :: convert :: From < InputStreamOverStream > for :: windows :: Object { fn from ( value : InputStreamOverStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & InputStreamOverStream > for :: windows :: Object { fn from ( value : & InputStreamOverStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for InputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a InputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < InputStreamOverStream > for IInputStream { fn from ( value : InputStreamOverStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & InputStreamOverStream > for IInputStream { fn from ( value : & InputStreamOverStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for InputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a InputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < InputStreamOverStream > for super :: super :: Foundation :: IClosable { fn from ( value : InputStreamOverStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & InputStreamOverStream > for super :: super :: Foundation :: IClosable { fn from ( value : & InputStreamOverStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for InputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a InputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for InputStreamOverStream { } unsafe impl :: std :: marker :: Sync for InputStreamOverStream { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct OutputStreamOverStream ( :: windows :: Object ) ; impl OutputStreamOverStream { pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } } unsafe impl :: windows :: RuntimeType for OutputStreamOverStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.OutputStreamOverStream;{905a0fe6-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for OutputStreamOverStream { type Vtable = IOutputStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821414 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for OutputStreamOverStream { const NAME : & 'static str ="Windows.Storage.Streams.OutputStreamOverStream" ; } impl < > :: std :: convert :: From < OutputStreamOverStream > for :: windows :: Object { fn from ( value : OutputStreamOverStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & OutputStreamOverStream > for :: windows :: Object { fn from ( value : & OutputStreamOverStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for OutputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a OutputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < OutputStreamOverStream > for IOutputStream { fn from ( value : OutputStreamOverStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & OutputStreamOverStream > for IOutputStream { fn from ( value : & OutputStreamOverStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for OutputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a OutputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < OutputStreamOverStream > for super :: super :: Foundation :: IClosable { fn from ( value : OutputStreamOverStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & OutputStreamOverStream > for super :: super :: Foundation :: IClosable { fn from ( value : & OutputStreamOverStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for OutputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a OutputStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for OutputStreamOverStream { } unsafe impl :: std :: marker :: Sync for OutputStreamOverStream { } pub struct RandomAccessStream { } impl RandomAccessStream { pub fn CopyAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IInputStream > , T1__ : :: windows :: IntoParam < 'a , IOutputStream > , > ( source : T0__ , destination : T1__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > > { Self :: IRandomAccessStreamStatics ( | this | unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , source . into_param ( ) . abi ( ) , destination . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > > ( result__ ) } ) } pub fn CopySizeAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IInputStream > , T1__ : :: windows :: IntoParam < 'a , IOutputStream > , > ( source : T0__ , destination : T1__ , bytestocopy : u64 , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > > { Self :: IRandomAccessStreamStatics ( | this | unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , source . into_param ( ) . abi ( ) , destination . into_param ( ) . abi ( ) , bytestocopy , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > > ( result__ ) } ) } pub fn CopyAndCloseAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IInputStream > , T1__ : :: windows :: IntoParam < 'a , IOutputStream > , > ( source : T0__ , destination : T1__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > > { Self :: IRandomAccessStreamStatics ( | this | unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , source . into_param ( ) . abi ( ) , destination . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u64 , u64 > > ( result__ ) } ) } fn IRandomAccessStreamStatics < R , F : FnOnce ( & IRandomAccessStreamStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < RandomAccessStream , IRandomAccessStreamStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } impl :: windows :: RuntimeName for RandomAccessStream { const NAME : & 'static str ="Windows.Storage.Streams.RandomAccessStream" ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct RandomAccessStreamOverStream ( :: windows :: Object ) ; impl RandomAccessStreamOverStream { pub fn Size < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn SetSize < > ( & self , value : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , value , ) . ok ( ) } } pub fn GetInputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IInputStream > { let this = self ; unsafe { let mut result__ : < IInputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IInputStream > ( result__ ) } } pub fn GetOutputStreamAt < > ( & self , position : u64 , ) -> :: windows :: Result < IOutputStream > { let this = self ; unsafe { let mut result__ : < IOutputStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .9 ) ( :: windows :: Abi :: abi ( this ) , position , & mut result__ ) . from_abi :: < IOutputStream > ( result__ ) } } pub fn Position < > ( & self , ) -> :: windows :: Result < u64 > { let this = self ; unsafe { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .10 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } pub fn Seek < > ( & self , position : u64 , ) -> :: windows :: Result < ( ) > { let this = self ; unsafe { ( :: windows :: Interface :: vtable ( this ) .11 ) ( :: windows :: Abi :: abi ( this ) , position , ) . ok ( ) } } pub fn CloneStream < > ( & self , ) -> :: windows :: Result < IRandomAccessStream > { let this = self ; unsafe { let mut result__ : < IRandomAccessStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .12 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < IRandomAccessStream > ( result__ ) } } pub fn CanRead < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .13 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn CanWrite < > ( & self , ) -> :: windows :: Result < bool > { let this = self ; unsafe { let mut result__ : < bool as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .14 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < bool > ( result__ ) } } pub fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { let this = & :: windows :: Interface :: cast :: < super :: super :: Foundation :: IClosable > ( self ) . unwrap ( ) ; unsafe { ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , ) . ok ( ) } } pub fn ReadAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , count : u32 , options : InputStreamOptions , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > { let this = & :: windows :: Interface :: cast :: < IInputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , count , options , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < IBuffer , u32 > > ( result__ ) } } pub fn WriteAsync < 'a , T0__ : :: windows :: IntoParam < 'a , IBuffer > , > ( & self , buffer : T0__ , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , buffer . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperationWithProgress :: < u32 , u32 > > ( result__ ) } } pub fn FlushAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < bool > > { let this = & :: windows :: Interface :: cast :: < IOutputStream > ( self ) . unwrap ( ) ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < bool > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < bool > > ( result__ ) } } } unsafe impl :: windows :: RuntimeType for RandomAccessStreamOverStream { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.RandomAccessStreamOverStream;{905a0fe1-bc53-11df-8c49-001e4fc686da})" ) ; } unsafe impl :: windows :: Interface for RandomAccessStreamOverStream { type Vtable = IRandomAccessStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2421821409 ,48211 ,4575 , [ 140 ,73 ,0 ,30 ,79 ,198 ,134 ,218 ] , ) ; } impl :: windows :: RuntimeName for RandomAccessStreamOverStream { const NAME : & 'static str ="Windows.Storage.Streams.RandomAccessStreamOverStream" ; } impl < > :: std :: convert :: From < RandomAccessStreamOverStream > for :: windows :: Object { fn from ( value : RandomAccessStreamOverStream ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & RandomAccessStreamOverStream > for :: windows :: Object { fn from ( value : & RandomAccessStreamOverStream ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < RandomAccessStreamOverStream > for IRandomAccessStream { fn from ( value : RandomAccessStreamOverStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & RandomAccessStreamOverStream > for IRandomAccessStream { fn from ( value : & RandomAccessStreamOverStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStream > for & 'a RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < RandomAccessStreamOverStream > for super :: super :: Foundation :: IClosable { fn from ( value : RandomAccessStreamOverStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & RandomAccessStreamOverStream > for super :: super :: Foundation :: IClosable { fn from ( value : & RandomAccessStreamOverStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , super :: super :: Foundation :: IClosable > for & 'a RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: super :: Foundation :: IClosable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: super :: Foundation :: IClosable > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < RandomAccessStreamOverStream > for IInputStream { fn from ( value : RandomAccessStreamOverStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & RandomAccessStreamOverStream > for IInputStream { fn from ( value : & RandomAccessStreamOverStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IInputStream > for & 'a RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IInputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl < > :: std :: convert :: From < RandomAccessStreamOverStream > for IOutputStream { fn from ( value : RandomAccessStreamOverStream ) -> Self { :: std :: convert :: From :: from ( & value ) } } impl < > :: std :: convert :: From < & RandomAccessStreamOverStream > for IOutputStream { fn from ( value : & RandomAccessStreamOverStream ) -> Self { :: windows :: Interface :: cast ( value ) . unwrap ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IOutputStream > for & 'a RandomAccessStreamOverStream { fn into_param ( self ) -> :: windows :: Param < 'a , IOutputStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOutputStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for RandomAccessStreamOverStream { } unsafe impl :: std :: marker :: Sync for RandomAccessStreamOverStream { } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct RandomAccessStreamReference ( :: windows :: Object ) ; impl RandomAccessStreamReference { pub fn OpenReadAsync < > ( & self , ) -> :: windows :: Result < super :: super :: Foundation :: IAsyncOperation :: < IRandomAccessStreamWithContentType > > { let this = self ; unsafe { let mut result__ : < super :: super :: Foundation :: IAsyncOperation :: < IRandomAccessStreamWithContentType > as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .6 ) ( :: windows :: Abi :: abi ( this ) , & mut result__ ) . from_abi :: < super :: super :: Foundation :: IAsyncOperation :: < IRandomAccessStreamWithContentType > > ( result__ ) } } pub fn CreateFromUri < 'a , T0__ : :: windows :: IntoParam < 'a , super :: super :: Foundation :: Uri > , > ( uri : T0__ , ) -> :: windows :: Result < RandomAccessStreamReference > { Self :: IRandomAccessStreamReferenceStatics ( | this | unsafe { let mut result__ : < RandomAccessStreamReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .7 ) ( :: windows :: Abi :: abi ( this ) , uri . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < RandomAccessStreamReference > ( result__ ) } ) } pub fn CreateFromStream < 'a , T0__ : :: windows :: IntoParam < 'a , IRandomAccessStream > , > ( stream : T0__ , ) -> :: windows :: Result < RandomAccessStreamReference > { Self :: IRandomAccessStreamReferenceStatics ( | this | unsafe { let mut result__ : < RandomAccessStreamReference as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( this ) .8 ) ( :: windows :: Abi :: abi ( this ) , stream . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < RandomAccessStreamReference > ( result__ ) } ) } fn IRandomAccessStreamReferenceStatics < R , F : FnOnce ( & IRandomAccessStreamReferenceStatics ) -> :: windows :: Result < R >> ( callback : F , ) -> :: windows :: Result < R > { static mut SHARED : :: windows :: FactoryCache < RandomAccessStreamReference , IRandomAccessStreamReferenceStatics > = :: windows :: FactoryCache :: new ( ) ; unsafe { SHARED . call ( callback ) } } } unsafe impl :: windows :: RuntimeType for RandomAccessStreamReference { type DefaultType = :: std :: option :: Option < Self > ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"rc(Windows.Storage.Streams.RandomAccessStreamReference;{33ee3134-1dd6-4e3a-8067-d1c162e8642b})" ) ; } unsafe impl :: windows :: Interface for RandomAccessStreamReference { type Vtable = IRandomAccessStreamReference_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 871248180 ,7638 ,20026 , [ 128 ,103 ,209 ,193 ,98 ,232 ,100 ,43 ] , ) ; } impl :: windows :: RuntimeName for RandomAccessStreamReference { const NAME : & 'static str ="Windows.Storage.Streams.RandomAccessStreamReference" ; } impl < > :: std :: convert :: From < RandomAccessStreamReference > for :: windows :: Object { fn from ( value : RandomAccessStreamReference ) -> Self { value . 0 } } impl < > :: std :: convert :: From < & RandomAccessStreamReference > for :: windows :: Object { fn from ( value : & RandomAccessStreamReference ) -> Self { value . 0 . clone ( ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for RandomAccessStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Owned ( self . 0 ) } } impl < 'a , > :: windows :: IntoParam < 'a , :: windows :: Object > for & 'a RandomAccessStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: Object > { :: windows :: Param :: Borrowed ( & self . 0 ) } } impl < > :: std :: convert :: From < RandomAccessStreamReference > for IRandomAccessStreamReference { fn from ( value : RandomAccessStreamReference ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl < > :: std :: convert :: From < & RandomAccessStreamReference > for IRandomAccessStreamReference { fn from ( value : & RandomAccessStreamReference ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStreamReference > for RandomAccessStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStreamReference > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStreamReference > :: into ( self ) ) } } impl < 'a , > :: windows :: IntoParam < 'a , IRandomAccessStreamReference > for & 'a RandomAccessStreamReference { fn into_param ( self ) -> :: windows :: Param < 'a , IRandomAccessStreamReference > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRandomAccessStreamReference > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } unsafe impl :: std :: marker :: Send for RandomAccessStreamReference { } unsafe impl :: std :: marker :: Sync for RandomAccessStreamReference { } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct UnicodeEncoding ( pub i32 ) ; impl UnicodeEncoding { pub const Utf8 : Self = Self ( 0i32 ) ; pub const Utf16LE : Self = Self ( 1i32 ) ; pub const Utf16BE : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for UnicodeEncoding { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UnicodeEncoding { type Abi = Self ; } unsafe impl :: windows :: RuntimeType for UnicodeEncoding { type DefaultType = Self ; const SIGNATURE : :: windows :: ConstBuffer = :: windows :: ConstBuffer :: from_slice ( b"enum(Windows.Storage.Streams.UnicodeEncoding;i4)" ) ; } } } # [ 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 Automation { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ITypeInfo ( :: windows :: IUnknown ) ; impl ITypeInfo { } unsafe impl :: windows :: Interface for ITypeInfo { type Vtable = ITypeInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 132097 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl ITypeInfo { pub unsafe fn GetRefTypeOfImplType < > ( & self , index : u32 , preftype : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( index ) , :: std :: mem :: transmute ( preftype ) , ) } pub unsafe fn GetImplTypeFlags < > ( & self , index : u32 , pimpltypeflags : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( index ) , :: std :: mem :: transmute ( pimpltypeflags ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , pmemid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( pmemid ) , ) } pub unsafe fn GetRefTypeInfo < > ( & self , hreftype : u32 , pptinfo : * mut :: std :: option :: Option < ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hreftype ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn CreateInstance < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punkouter : T0__ , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , ) } } impl :: std :: convert :: From < ITypeInfo > for :: windows :: IUnknown { fn from ( value : ITypeInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ITypeInfo > for :: windows :: IUnknown { fn from ( value : & ITypeInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ITypeInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a ITypeInfo { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ITypeInfo_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , index : u32 , preftype : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , index : u32 , pimpltypeflags : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , pmemid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hreftype : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punkouter : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDispatch ( :: windows :: IUnknown ) ; impl IDispatch { } 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 IDispatch { pub unsafe fn GetTypeInfoCount < > ( & self , pctinfo : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pctinfo ) , ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , pptinfo : * mut :: std :: option :: Option < ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod 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 ) ; impl ACTIVATEFLAGS { pub const ACTIVATE_WINDOWLESS : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for ACTIVATEFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ACTIVATEFLAGS { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ACTRL_ACCESS_ENTRYA_fAccessFlags ( pub u32 ) ; impl ACTRL_ACCESS_ENTRYA_fAccessFlags { pub const ACTRL_ACCESS_ALLOWED : Self = Self ( 1u32 ) ; pub const ACTRL_ACCESS_DENIED : Self = Self ( 2u32 ) ; pub const ACTRL_AUDIT_SUCCESS : Self = Self ( 4u32 ) ; pub const ACTRL_AUDIT_FAILURE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for ACTRL_ACCESS_ENTRYA_fAccessFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ACTRL_ACCESS_ENTRYA_fAccessFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ACTRL_ACCESS_ENTRYA_fAccessFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ACTRL_ACCESS_ENTRYA_fAccessFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ACTRL_ACCESS_ENTRYA_fAccessFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ACTRL_ACCESS_ENTRYA_fAccessFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_ACCESS_ENTRYA { pub Trustee : super :: Security :: TRUSTEE_A , pub fAccessFlags : ACTRL_ACCESS_ENTRYA_fAccessFlags , pub Access : u32 , pub ProvSpecificAccess : u32 , pub Inheritance : super :: Security :: AddAuditAccess_AceFlags , pub lpInheritProperty : super :: SystemServices :: PSTR } impl ACTRL_ACCESS_ENTRYA { } impl :: std :: default :: Default for ACTRL_ACCESS_ENTRYA { fn default ( ) -> Self { Self { Trustee : :: std :: default :: Default :: default ( ) , fAccessFlags : :: std :: default :: Default :: default ( ) , Access : 0 , ProvSpecificAccess : 0 , Inheritance : :: std :: default :: Default :: default ( ) , lpInheritProperty : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ACTRL_ACCESS_ENTRYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_ACCESS_ENTRYA" ) . field ( "Trustee" , & format_args ! ( "{:?}" , self . Trustee ) ) . field ( "fAccessFlags" , & format_args ! ( "{:?}" , self . fAccessFlags ) ) . field ( "Access" , & format_args ! ( "{:?}" , self . Access ) ) . field ( "ProvSpecificAccess" , & format_args ! ( "{:?}" , self . ProvSpecificAccess ) ) . field ( "Inheritance" , & format_args ! ( "{:?}" , self . Inheritance ) ) . field ( "lpInheritProperty" , & format_args ! ( "{:?}" , self . lpInheritProperty ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_ACCESS_ENTRYA { fn eq ( & self , other : & Self ) -> bool { self . Trustee == other . Trustee && self . fAccessFlags == other . fAccessFlags && self . Access == other . Access && self . ProvSpecificAccess == other . ProvSpecificAccess && self . Inheritance == other . Inheritance && self . lpInheritProperty == other . lpInheritProperty } } impl :: std :: cmp :: Eq for ACTRL_ACCESS_ENTRYA { } unsafe impl :: windows :: Abi for ACTRL_ACCESS_ENTRYA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_ACCESS_ENTRY_LISTA { pub cEntries : u32 , pub pAccessList : * mut ACTRL_ACCESS_ENTRYA } impl ACTRL_ACCESS_ENTRY_LISTA { } impl :: std :: default :: Default for ACTRL_ACCESS_ENTRY_LISTA { fn default ( ) -> Self { Self { cEntries : 0 , pAccessList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ACTRL_ACCESS_ENTRY_LISTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_ACCESS_ENTRY_LISTA" ) . field ( "cEntries" , & format_args ! ( "{:?}" , self . cEntries ) ) . field ( "pAccessList" , & format_args ! ( "{:?}" , self . pAccessList ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_ACCESS_ENTRY_LISTA { fn eq ( & self , other : & Self ) -> bool { self . cEntries == other . cEntries && self . pAccessList == other . pAccessList } } impl :: std :: cmp :: Eq for ACTRL_ACCESS_ENTRY_LISTA { } unsafe impl :: windows :: Abi for ACTRL_ACCESS_ENTRY_LISTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_PROPERTY_ENTRYA { pub lpProperty : super :: SystemServices :: PSTR , pub pAccessEntryList : * mut ACTRL_ACCESS_ENTRY_LISTA , pub fListFlags : u32 } impl ACTRL_PROPERTY_ENTRYA { } impl :: std :: default :: Default for ACTRL_PROPERTY_ENTRYA { fn default ( ) -> Self { Self { lpProperty : :: std :: default :: Default :: default ( ) , pAccessEntryList : :: std :: ptr :: null_mut ( ) , fListFlags : 0 } } } impl :: std :: fmt :: Debug for ACTRL_PROPERTY_ENTRYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_PROPERTY_ENTRYA" ) . field ( "lpProperty" , & format_args ! ( "{:?}" , self . lpProperty ) ) . field ( "pAccessEntryList" , & format_args ! ( "{:?}" , self . pAccessEntryList ) ) . field ( "fListFlags" , & format_args ! ( "{:?}" , self . fListFlags ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_PROPERTY_ENTRYA { fn eq ( & self , other : & Self ) -> bool { self . lpProperty == other . lpProperty && self . pAccessEntryList == other . pAccessEntryList && self . fListFlags == other . fListFlags } } impl :: std :: cmp :: Eq for ACTRL_PROPERTY_ENTRYA { } unsafe impl :: windows :: Abi for ACTRL_PROPERTY_ENTRYA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_ACCESSA { pub cEntries : u32 , pub pPropertyAccessList : * mut ACTRL_PROPERTY_ENTRYA } impl ACTRL_ACCESSA { } impl :: std :: default :: Default for ACTRL_ACCESSA { fn default ( ) -> Self { Self { cEntries : 0 , pPropertyAccessList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ACTRL_ACCESSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_ACCESSA" ) . field ( "cEntries" , & format_args ! ( "{:?}" , self . cEntries ) ) . field ( "pPropertyAccessList" , & format_args ! ( "{:?}" , self . pPropertyAccessList ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_ACCESSA { fn eq ( & self , other : & Self ) -> bool { self . cEntries == other . cEntries && self . pPropertyAccessList == other . pPropertyAccessList } } impl :: std :: cmp :: Eq for ACTRL_ACCESSA { } unsafe impl :: windows :: Abi for ACTRL_ACCESSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_ACCESS_ENTRYW { pub Trustee : super :: Security :: TRUSTEE_W , pub fAccessFlags : ACTRL_ACCESS_ENTRYA_fAccessFlags , pub Access : u32 , pub ProvSpecificAccess : u32 , pub Inheritance : super :: Security :: AddAuditAccess_AceFlags , pub lpInheritProperty : super :: SystemServices :: PWSTR } impl ACTRL_ACCESS_ENTRYW { } impl :: std :: default :: Default for ACTRL_ACCESS_ENTRYW { fn default ( ) -> Self { Self { Trustee : :: std :: default :: Default :: default ( ) , fAccessFlags : :: std :: default :: Default :: default ( ) , Access : 0 , ProvSpecificAccess : 0 , Inheritance : :: std :: default :: Default :: default ( ) , lpInheritProperty : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ACTRL_ACCESS_ENTRYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_ACCESS_ENTRYW" ) . field ( "Trustee" , & format_args ! ( "{:?}" , self . Trustee ) ) . field ( "fAccessFlags" , & format_args ! ( "{:?}" , self . fAccessFlags ) ) . field ( "Access" , & format_args ! ( "{:?}" , self . Access ) ) . field ( "ProvSpecificAccess" , & format_args ! ( "{:?}" , self . ProvSpecificAccess ) ) . field ( "Inheritance" , & format_args ! ( "{:?}" , self . Inheritance ) ) . field ( "lpInheritProperty" , & format_args ! ( "{:?}" , self . lpInheritProperty ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_ACCESS_ENTRYW { fn eq ( & self , other : & Self ) -> bool { self . Trustee == other . Trustee && self . fAccessFlags == other . fAccessFlags && self . Access == other . Access && self . ProvSpecificAccess == other . ProvSpecificAccess && self . Inheritance == other . Inheritance && self . lpInheritProperty == other . lpInheritProperty } } impl :: std :: cmp :: Eq for ACTRL_ACCESS_ENTRYW { } unsafe impl :: windows :: Abi for ACTRL_ACCESS_ENTRYW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_ACCESS_ENTRY_LISTW { pub cEntries : u32 , pub pAccessList : * mut ACTRL_ACCESS_ENTRYW } impl ACTRL_ACCESS_ENTRY_LISTW { } impl :: std :: default :: Default for ACTRL_ACCESS_ENTRY_LISTW { fn default ( ) -> Self { Self { cEntries : 0 , pAccessList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ACTRL_ACCESS_ENTRY_LISTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_ACCESS_ENTRY_LISTW" ) . field ( "cEntries" , & format_args ! ( "{:?}" , self . cEntries ) ) . field ( "pAccessList" , & format_args ! ( "{:?}" , self . pAccessList ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_ACCESS_ENTRY_LISTW { fn eq ( & self , other : & Self ) -> bool { self . cEntries == other . cEntries && self . pAccessList == other . pAccessList } } impl :: std :: cmp :: Eq for ACTRL_ACCESS_ENTRY_LISTW { } unsafe impl :: windows :: Abi for ACTRL_ACCESS_ENTRY_LISTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_PROPERTY_ENTRYW { pub lpProperty : super :: SystemServices :: PWSTR , pub pAccessEntryList : * mut ACTRL_ACCESS_ENTRY_LISTW , pub fListFlags : u32 } impl ACTRL_PROPERTY_ENTRYW { } impl :: std :: default :: Default for ACTRL_PROPERTY_ENTRYW { fn default ( ) -> Self { Self { lpProperty : :: std :: default :: Default :: default ( ) , pAccessEntryList : :: std :: ptr :: null_mut ( ) , fListFlags : 0 } } } impl :: std :: fmt :: Debug for ACTRL_PROPERTY_ENTRYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_PROPERTY_ENTRYW" ) . field ( "lpProperty" , & format_args ! ( "{:?}" , self . lpProperty ) ) . field ( "pAccessEntryList" , & format_args ! ( "{:?}" , self . pAccessEntryList ) ) . field ( "fListFlags" , & format_args ! ( "{:?}" , self . fListFlags ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_PROPERTY_ENTRYW { fn eq ( & self , other : & Self ) -> bool { self . lpProperty == other . lpProperty && self . pAccessEntryList == other . pAccessEntryList && self . fListFlags == other . fListFlags } } impl :: std :: cmp :: Eq for ACTRL_PROPERTY_ENTRYW { } unsafe impl :: windows :: Abi for ACTRL_PROPERTY_ENTRYW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACTRL_ACCESSW { pub cEntries : u32 , pub pPropertyAccessList : * mut ACTRL_PROPERTY_ENTRYW } impl ACTRL_ACCESSW { } impl :: std :: default :: Default for ACTRL_ACCESSW { fn default ( ) -> Self { Self { cEntries : 0 , pPropertyAccessList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ACTRL_ACCESSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACTRL_ACCESSW" ) . field ( "cEntries" , & format_args ! ( "{:?}" , self . cEntries ) ) . field ( "pPropertyAccessList" , & format_args ! ( "{:?}" , self . pPropertyAccessList ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACTRL_ACCESSW { fn eq ( & self , other : & Self ) -> bool { self . cEntries == other . cEntries && self . pPropertyAccessList == other . pPropertyAccessList } } impl :: std :: cmp :: Eq for ACTRL_ACCESSW { } unsafe impl :: windows :: Abi for ACTRL_ACCESSW { type Abi = 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 ) ; impl ADVF { pub const ADVF_NODATA : Self = Self ( 1i32 ) ; pub const ADVF_PRIMEFIRST : Self = Self ( 2i32 ) ; pub const ADVF_ONLYONCE : Self = Self ( 4i32 ) ; pub const ADVF_DATAONSTOP : Self = Self ( 64i32 ) ; pub const ADVFCACHE_NOHANDLER : Self = Self ( 8i32 ) ; pub const ADVFCACHE_FORCEBUILTIN : Self = Self ( 16i32 ) ; pub const ADVFCACHE_ONSAVE : Self = Self ( 32i32 ) ; } impl :: std :: convert :: From < i32 > for ADVF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ADVF { type Abi = 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 ) ; impl APTTYPE { pub const APTTYPE_CURRENT : Self = Self ( -1i32 ) ; pub const APTTYPE_STA : Self = Self ( 0i32 ) ; pub const APTTYPE_MTA : Self = Self ( 1i32 ) ; pub const APTTYPE_NA : Self = Self ( 2i32 ) ; pub const APTTYPE_MAINSTA : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for APTTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for APTTYPE { type Abi = 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 ) ; impl APTTYPEQUALIFIER { pub const APTTYPEQUALIFIER_NONE : Self = Self ( 0i32 ) ; pub const APTTYPEQUALIFIER_IMPLICIT_MTA : Self = Self ( 1i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_MTA : Self = Self ( 2i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_STA : Self = Self ( 3i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA : Self = Self ( 4i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_MAINSTA : Self = Self ( 5i32 ) ; pub const APTTYPEQUALIFIER_APPLICATION_STA : Self = Self ( 6i32 ) ; pub const APTTYPEQUALIFIER_RESERVED_1 : Self = Self ( 7i32 ) ; } impl :: std :: convert :: From < i32 > for APTTYPEQUALIFIER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for APTTYPEQUALIFIER { type Abi = 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 ) ; impl AUTHENTICATEF { pub const AUTHENTICATEF_PROXY : Self = Self ( 1i32 ) ; pub const AUTHENTICATEF_BASIC : Self = Self ( 2i32 ) ; pub const AUTHENTICATEF_HTTP : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for AUTHENTICATEF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUTHENTICATEF { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , 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 ; } pub struct Apis { } impl Apis { } impl :: windows :: RuntimeName for Apis { const NAME : & 'static str ="Windows.Win32.Com.Apis" ; } # [ 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 ) ; impl ApplicationType { pub const ServerApplication : Self = Self ( 0i32 ) ; pub const LibraryApplication : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for ApplicationType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ApplicationType { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cb ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl AspectInfoFlag { pub const DVASPECTINFOFLAG_CANOPTIMIZE : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for AspectInfoFlag { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AspectInfoFlag { type Abi = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIAdviseSink ( :: windows :: IUnknown ) ; impl AsyncIAdviseSink { } 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 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 { } 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 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 { } 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 AsyncIMultiQI { pub unsafe fn Begin_QueryMultipleInterfaces < > ( & self , cmqis : u32 , pmqis : * mut MULTI_QI , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cmqis ) , :: std :: mem :: transmute ( pmqis ) , ) } pub unsafe fn Finish_QueryMultipleInterfaces < > ( & self , pmqis : * mut MULTI_QI , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmqis ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmqis : * mut MULTI_QI_abi , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIPipeByte ( :: windows :: IUnknown ) ; impl AsyncIPipeByte { } 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 AsyncIPipeByte { pub unsafe fn Begin_Pull < > ( & self , crequest : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( crequest ) , ) } pub unsafe fn Finish_Pull < > ( & self , buf : * mut u8 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( pcreturned ) , ) } pub unsafe fn Begin_Push < > ( & self , buf : * mut u8 , csent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) } pub unsafe fn Finish_Push < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut u8 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut u8 , csent : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIPipeDouble ( :: windows :: IUnknown ) ; impl AsyncIPipeDouble { } 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 AsyncIPipeDouble { pub unsafe fn Begin_Pull < > ( & self , crequest : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( crequest ) , ) } pub unsafe fn Finish_Pull < > ( & self , buf : * mut f64 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( pcreturned ) , ) } pub unsafe fn Begin_Push < > ( & self , buf : * mut f64 , csent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) } pub unsafe fn Finish_Push < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut f64 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut f64 , csent : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIPipeLong ( :: windows :: IUnknown ) ; impl AsyncIPipeLong { } 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 AsyncIPipeLong { pub unsafe fn Begin_Pull < > ( & self , crequest : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( crequest ) , ) } pub unsafe fn Finish_Pull < > ( & self , buf : * mut i32 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( pcreturned ) , ) } pub unsafe fn Begin_Push < > ( & self , buf : * mut i32 , csent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) } pub unsafe fn Finish_Push < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut i32 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut i32 , csent : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIUnknown ( :: windows :: IUnknown ) ; impl AsyncIUnknown { } 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 AsyncIUnknown { pub unsafe fn Begin_QueryInterface < > ( & self , riid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , ) } pub unsafe fn Finish_QueryInterface < > ( & self , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppvobject ) , ) } pub unsafe fn Begin_AddRef < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Finish_AddRef < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_Release < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Finish_Release < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , 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 ) ; impl BINDF { pub const BINDF_ASYNCHRONOUS : Self = Self ( 1i32 ) ; pub const BINDF_ASYNCSTORAGE : Self = Self ( 2i32 ) ; pub const BINDF_NOPROGRESSIVERENDERING : Self = Self ( 4i32 ) ; pub const BINDF_OFFLINEOPERATION : Self = Self ( 8i32 ) ; pub const BINDF_GETNEWESTVERSION : Self = Self ( 16i32 ) ; pub const BINDF_NOWRITECACHE : Self = Self ( 32i32 ) ; pub const BINDF_NEEDFILE : Self = Self ( 64i32 ) ; pub const BINDF_PULLDATA : Self = Self ( 128i32 ) ; pub const BINDF_IGNORESECURITYPROBLEM : Self = Self ( 256i32 ) ; pub const BINDF_RESYNCHRONIZE : Self = Self ( 512i32 ) ; pub const BINDF_HYPERLINK : Self = Self ( 1024i32 ) ; pub const BINDF_NO_UI : Self = Self ( 2048i32 ) ; pub const BINDF_SILENTOPERATION : Self = Self ( 4096i32 ) ; pub const BINDF_PRAGMA_NO_CACHE : Self = Self ( 8192i32 ) ; pub const BINDF_GETCLASSOBJECT : Self = Self ( 16384i32 ) ; pub const BINDF_RESERVED_1 : Self = Self ( 32768i32 ) ; pub const BINDF_FREE_THREADED : Self = Self ( 65536i32 ) ; pub const BINDF_DIRECT_READ : Self = Self ( 131072i32 ) ; pub const BINDF_FORMS_SUBMIT : Self = Self ( 262144i32 ) ; pub const BINDF_GETFROMCACHE_IF_NET_FAIL : Self = Self ( 524288i32 ) ; pub const BINDF_FROMURLMON : Self = Self ( 1048576i32 ) ; pub const BINDF_FWD_BACK : Self = Self ( 2097152i32 ) ; pub const BINDF_PREFERDEFAULTHANDLER : Self = Self ( 4194304i32 ) ; pub const BINDF_ENFORCERESTRICTED : Self = Self ( 8388608i32 ) ; pub const BINDF_RESERVED_2 : Self = Self ( -2147483648i32 ) ; pub const BINDF_RESERVED_3 : Self = Self ( 16777216i32 ) ; pub const BINDF_RESERVED_4 : Self = Self ( 33554432i32 ) ; pub const BINDF_RESERVED_5 : Self = Self ( 67108864i32 ) ; pub const BINDF_RESERVED_6 : Self = Self ( 134217728i32 ) ; pub const BINDF_RESERVED_7 : Self = Self ( 1073741824i32 ) ; pub const BINDF_RESERVED_8 : Self = Self ( 536870912i32 ) ; } impl :: std :: convert :: From < i32 > for BINDF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDF { type Abi = 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 ) ; impl BINDF2 { pub const BINDF2_DISABLEBASICOVERHTTP : Self = Self ( 1i32 ) ; pub const BINDF2_DISABLEAUTOCOOKIEHANDLING : Self = Self ( 2i32 ) ; pub const BINDF2_READ_DATA_GREATER_THAN_4GB : Self = Self ( 4i32 ) ; pub const BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID : Self = Self ( 8i32 ) ; pub const BINDF2_SETDOWNLOADMODE : Self = Self ( 32i32 ) ; pub const BINDF2_DISABLE_HTTP_REDIRECT_CACHING : Self = Self ( 64i32 ) ; pub const BINDF2_KEEP_CALLBACK_MODULE_LOADED : Self = Self ( 128i32 ) ; pub const BINDF2_ALLOW_PROXY_CRED_PROMPT : Self = Self ( 256i32 ) ; pub const BINDF2_RESERVED_17 : Self = Self ( 512i32 ) ; pub const BINDF2_RESERVED_16 : Self = Self ( 1024i32 ) ; pub const BINDF2_RESERVED_15 : Self = Self ( 2048i32 ) ; pub const BINDF2_RESERVED_14 : Self = Self ( 4096i32 ) ; pub const BINDF2_RESERVED_13 : Self = Self ( 8192i32 ) ; pub const BINDF2_RESERVED_12 : Self = Self ( 16384i32 ) ; pub const BINDF2_RESERVED_11 : Self = Self ( 32768i32 ) ; pub const BINDF2_RESERVED_10 : Self = Self ( 65536i32 ) ; pub const BINDF2_RESERVED_F : Self = Self ( 131072i32 ) ; pub const BINDF2_RESERVED_E : Self = Self ( 262144i32 ) ; pub const BINDF2_RESERVED_D : Self = Self ( 524288i32 ) ; pub const BINDF2_RESERVED_C : Self = Self ( 1048576i32 ) ; pub const BINDF2_RESERVED_B : Self = Self ( 2097152i32 ) ; pub const BINDF2_RESERVED_A : Self = Self ( 4194304i32 ) ; pub const BINDF2_RESERVED_9 : Self = Self ( 8388608i32 ) ; pub const BINDF2_RESERVED_8 : Self = Self ( 16777216i32 ) ; pub const BINDF2_RESERVED_7 : Self = Self ( 33554432i32 ) ; pub const BINDF2_RESERVED_6 : Self = Self ( 67108864i32 ) ; pub const BINDF2_RESERVED_5 : Self = Self ( 134217728i32 ) ; pub const BINDF2_RESERVED_4 : Self = Self ( 268435456i32 ) ; pub const BINDF2_RESERVED_3 : Self = Self ( 536870912i32 ) ; pub const BINDF2_RESERVED_2 : Self = Self ( 1073741824i32 ) ; pub const BINDF2_RESERVED_1 : Self = Self ( -2147483648i32 ) ; } impl :: std :: convert :: From < i32 > for BINDF2 { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDF2 { type Abi = 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 ) ; impl BINDHANDLETYPES { pub const BINDHANDLETYPES_APPCACHE : Self = Self ( 0i32 ) ; pub const BINDHANDLETYPES_DEPENDENCY : Self = Self ( 1i32 ) ; pub const BINDHANDLETYPES_COUNT : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for BINDHANDLETYPES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDHANDLETYPES { type Abi = Self ; } # [ repr ( C ) ] pub struct STGMEDIUM { pub tymed : u32 , pub Anonymous : STGMEDIUM_0 , pub pUnkForRelease : :: std :: option :: Option < :: windows :: IUnknown > } impl 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 ; } # [ repr ( C ) ] pub union STGMEDIUM_0 { pub hBitmap : super :: Gdi :: HBITMAP , pub hMetaFilePict : * mut :: std :: ffi :: c_void , pub hEnhMetaFile : super :: Gdi :: HENHMETAFILE , pub hGlobal : isize , pub lpszFileName : super :: SystemServices :: PWSTR , pub pstm : :: windows :: RawPtr , pub pstg : :: windows :: RawPtr } impl STGMEDIUM_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union STGMEDIUM_0_abi { pub hBitmap : super :: Gdi :: HBITMAP , pub hMetaFilePict : * mut :: std :: ffi :: c_void , pub hEnhMetaFile : super :: Gdi :: HENHMETAFILE , pub hGlobal : isize , pub lpszFileName : super :: SystemServices :: PWSTR , pub pstm : :: windows :: RawPtr , pub pstg : :: windows :: RawPtr } unsafe impl :: windows :: Abi for STGMEDIUM_0 { type Abi = STGMEDIUM_0_abi ; } # [ repr ( C ) ] pub struct BINDINFO { pub cbSize : u32 , pub szExtraInfo : super :: SystemServices :: PWSTR , pub stgmedData : STGMEDIUM , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super :: SystemServices :: PWSTR , pub cbstgmedData : u32 , pub dwOptions : u32 , pub dwOptionsFlags : u32 , pub dwCodePage : u32 , pub securityAttributes : super :: SystemServices :: SECURITY_ATTRIBUTES , pub iid : :: windows :: Guid , pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub dwReserved : u32 } impl BINDINFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BINDINFO_abi { pub cbSize : u32 , pub szExtraInfo : super :: SystemServices :: PWSTR , pub stgmedData : STGMEDIUM_abi , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super :: SystemServices :: PWSTR , pub cbstgmedData : u32 , pub dwOptions : u32 , pub dwOptionsFlags : u32 , pub dwCodePage : u32 , pub securityAttributes : super :: SystemServices :: SECURITY_ATTRIBUTES , pub iid : :: windows :: Guid , pub pUnk : :: windows :: RawPtr , pub dwReserved : u32 } unsafe impl :: windows :: Abi for BINDINFO { type Abi = BINDINFO_abi ; } # [ 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 ) ; impl BINDINFOF { pub const BINDINFOF_URLENCODESTGMEDDATA : Self = Self ( 1i32 ) ; pub const BINDINFOF_URLENCODEDEXTRAINFO : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for BINDINFOF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDINFOF { type Abi = 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 ) ; impl BINDINFO_OPTIONS { pub const BINDINFO_OPTIONS_WININETFLAG : Self = Self ( 65536i32 ) ; pub const BINDINFO_OPTIONS_ENABLE_UTF8 : Self = Self ( 131072i32 ) ; pub const BINDINFO_OPTIONS_DISABLE_UTF8 : Self = Self ( 262144i32 ) ; pub const BINDINFO_OPTIONS_USE_IE_ENCODING : Self = Self ( 524288i32 ) ; pub const BINDINFO_OPTIONS_BINDTOOBJECT : Self = Self ( 1048576i32 ) ; pub const BINDINFO_OPTIONS_SECURITYOPTOUT : Self = Self ( 2097152i32 ) ; pub const BINDINFO_OPTIONS_IGNOREMIMETEXTPLAIN : Self = Self ( 4194304i32 ) ; pub const BINDINFO_OPTIONS_USEBINDSTRINGCREDS : Self = Self ( 8388608i32 ) ; pub const BINDINFO_OPTIONS_IGNOREHTTPHTTPSREDIRECTS : Self = Self ( 16777216i32 ) ; pub const BINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE : Self = Self ( 33554432i32 ) ; pub const BINDINFO_WPC_DOWNLOADBLOCKED : Self = Self ( 134217728i32 ) ; pub const BINDINFO_WPC_LOGGING_ENABLED : Self = Self ( 268435456i32 ) ; pub const BINDINFO_OPTIONS_ALLOWCONNECTDATA : Self = Self ( 536870912i32 ) ; pub const BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS : Self = Self ( 1073741824i32 ) ; pub const BINDINFO_OPTIONS_SHDOCVW_NAVIGATE : Self = Self ( -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 ; } # [ 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 ) ; impl BINDSPEED { pub const BINDSPEED_INDEFINITE : Self = Self ( 1i32 ) ; pub const BINDSPEED_MODERATE : Self = Self ( 2i32 ) ; pub const BINDSPEED_IMMEDIATE : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for BINDSPEED { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDSPEED { type Abi = 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 ) ; impl BINDSTATUS { pub const BINDSTATUS_FINDINGRESOURCE : Self = Self ( 1i32 ) ; pub const BINDSTATUS_CONNECTING : Self = Self ( 2i32 ) ; pub const BINDSTATUS_REDIRECTING : Self = Self ( 3i32 ) ; pub const BINDSTATUS_BEGINDOWNLOADDATA : Self = Self ( 4i32 ) ; pub const BINDSTATUS_DOWNLOADINGDATA : Self = Self ( 5i32 ) ; pub const BINDSTATUS_ENDDOWNLOADDATA : Self = Self ( 6i32 ) ; pub const BINDSTATUS_BEGINDOWNLOADCOMPONENTS : Self = Self ( 7i32 ) ; pub const BINDSTATUS_INSTALLINGCOMPONENTS : Self = Self ( 8i32 ) ; pub const BINDSTATUS_ENDDOWNLOADCOMPONENTS : Self = Self ( 9i32 ) ; pub const BINDSTATUS_USINGCACHEDCOPY : Self = Self ( 10i32 ) ; pub const BINDSTATUS_SENDINGREQUEST : Self = Self ( 11i32 ) ; pub const BINDSTATUS_CLASSIDAVAILABLE : Self = Self ( 12i32 ) ; pub const BINDSTATUS_MIMETYPEAVAILABLE : Self = Self ( 13i32 ) ; pub const BINDSTATUS_CACHEFILENAMEAVAILABLE : Self = Self ( 14i32 ) ; pub const BINDSTATUS_BEGINSYNCOPERATION : Self = Self ( 15i32 ) ; pub const BINDSTATUS_ENDSYNCOPERATION : Self = Self ( 16i32 ) ; pub const BINDSTATUS_BEGINUPLOADDATA : Self = Self ( 17i32 ) ; pub const BINDSTATUS_UPLOADINGDATA : Self = Self ( 18i32 ) ; pub const BINDSTATUS_ENDUPLOADDATA : Self = Self ( 19i32 ) ; pub const BINDSTATUS_PROTOCOLCLASSID : Self = Self ( 20i32 ) ; pub const BINDSTATUS_ENCODING : Self = Self ( 21i32 ) ; pub const BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE : Self = Self ( 22i32 ) ; pub const BINDSTATUS_CLASSINSTALLLOCATION : Self = Self ( 23i32 ) ; pub const BINDSTATUS_DECODING : Self = Self ( 24i32 ) ; pub const BINDSTATUS_LOADINGMIMEHANDLER : Self = Self ( 25i32 ) ; pub const BINDSTATUS_CONTENTDISPOSITIONATTACH : Self = Self ( 26i32 ) ; pub const BINDSTATUS_FILTERREPORTMIMETYPE : Self = Self ( 27i32 ) ; pub const BINDSTATUS_CLSIDCANINSTANTIATE : Self = Self ( 28i32 ) ; pub const BINDSTATUS_IUNKNOWNAVAILABLE : Self = Self ( 29i32 ) ; pub const BINDSTATUS_DIRECTBIND : Self = Self ( 30i32 ) ; pub const BINDSTATUS_RAWMIMETYPE : Self = Self ( 31i32 ) ; pub const BINDSTATUS_PROXYDETECTING : Self = Self ( 32i32 ) ; pub const BINDSTATUS_ACCEPTRANGES : Self = Self ( 33i32 ) ; pub const BINDSTATUS_COOKIE_SENT : Self = Self ( 34i32 ) ; pub const BINDSTATUS_COMPACT_POLICY_RECEIVED : Self = Self ( 35i32 ) ; pub const BINDSTATUS_COOKIE_SUPPRESSED : Self = Self ( 36i32 ) ; pub const BINDSTATUS_COOKIE_STATE_UNKNOWN : Self = Self ( 37i32 ) ; pub const BINDSTATUS_COOKIE_STATE_ACCEPT : Self = Self ( 38i32 ) ; pub const BINDSTATUS_COOKIE_STATE_REJECT : Self = Self ( 39i32 ) ; pub const BINDSTATUS_COOKIE_STATE_PROMPT : Self = Self ( 40i32 ) ; pub const BINDSTATUS_COOKIE_STATE_LEASH : Self = Self ( 41i32 ) ; pub const BINDSTATUS_COOKIE_STATE_DOWNGRADE : Self = Self ( 42i32 ) ; pub const BINDSTATUS_POLICY_HREF : Self = Self ( 43i32 ) ; pub const BINDSTATUS_P3P_HEADER : Self = Self ( 44i32 ) ; pub const BINDSTATUS_SESSION_COOKIE_RECEIVED : Self = Self ( 45i32 ) ; pub const BINDSTATUS_PERSISTENT_COOKIE_RECEIVED : Self = Self ( 46i32 ) ; pub const BINDSTATUS_SESSION_COOKIES_ALLOWED : Self = Self ( 47i32 ) ; pub const BINDSTATUS_CACHECONTROL : Self = Self ( 48i32 ) ; pub const BINDSTATUS_CONTENTDISPOSITIONFILENAME : Self = Self ( 49i32 ) ; pub const BINDSTATUS_MIMETEXTPLAINMISMATCH : Self = Self ( 50i32 ) ; pub const BINDSTATUS_PUBLISHERAVAILABLE : Self = Self ( 51i32 ) ; pub const BINDSTATUS_DISPLAYNAMEAVAILABLE : Self = Self ( 52i32 ) ; pub const BINDSTATUS_SSLUX_NAVBLOCKED : Self = Self ( 53i32 ) ; pub const BINDSTATUS_SERVER_MIMETYPEAVAILABLE : Self = Self ( 54i32 ) ; pub const BINDSTATUS_SNIFFED_CLASSIDAVAILABLE : Self = Self ( 55i32 ) ; pub const BINDSTATUS_64BIT_PROGRESS : Self = Self ( 56i32 ) ; pub const BINDSTATUS_LAST : Self = Self ( 56i32 ) ; pub const BINDSTATUS_RESERVED_0 : Self = Self ( 57i32 ) ; pub const BINDSTATUS_RESERVED_1 : Self = Self ( 58i32 ) ; pub const BINDSTATUS_RESERVED_2 : Self = Self ( 59i32 ) ; pub const BINDSTATUS_RESERVED_3 : Self = Self ( 60i32 ) ; pub const BINDSTATUS_RESERVED_4 : Self = Self ( 61i32 ) ; pub const BINDSTATUS_RESERVED_5 : Self = Self ( 62i32 ) ; pub const BINDSTATUS_RESERVED_6 : Self = Self ( 63i32 ) ; pub const BINDSTATUS_RESERVED_7 : Self = Self ( 64i32 ) ; pub const BINDSTATUS_RESERVED_8 : Self = Self ( 65i32 ) ; pub const BINDSTATUS_RESERVED_9 : Self = Self ( 66i32 ) ; pub const BINDSTATUS_RESERVED_A : Self = Self ( 67i32 ) ; pub const BINDSTATUS_RESERVED_B : Self = Self ( 68i32 ) ; pub const BINDSTATUS_RESERVED_C : Self = Self ( 69i32 ) ; pub const BINDSTATUS_RESERVED_D : Self = Self ( 70i32 ) ; pub const BINDSTATUS_RESERVED_E : Self = Self ( 71i32 ) ; pub const BINDSTATUS_RESERVED_F : Self = Self ( 72i32 ) ; pub const BINDSTATUS_RESERVED_10 : Self = Self ( 73i32 ) ; pub const BINDSTATUS_RESERVED_11 : Self = Self ( 74i32 ) ; pub const BINDSTATUS_RESERVED_12 : Self = Self ( 75i32 ) ; pub const BINDSTATUS_RESERVED_13 : Self = Self ( 76i32 ) ; pub const BINDSTATUS_LAST_PRIVATE : Self = Self ( 76i32 ) ; } impl :: std :: convert :: From < i32 > for BINDSTATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDSTATUS { type Abi = 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 ) ; impl BINDSTRING { pub const BINDSTRING_HEADERS : Self = Self ( 1i32 ) ; pub const BINDSTRING_ACCEPT_MIMES : Self = Self ( 2i32 ) ; pub const BINDSTRING_EXTRA_URL : Self = Self ( 3i32 ) ; pub const BINDSTRING_LANGUAGE : Self = Self ( 4i32 ) ; pub const BINDSTRING_USERNAME : Self = Self ( 5i32 ) ; pub const BINDSTRING_PASSWORD : Self = Self ( 6i32 ) ; pub const BINDSTRING_UA_PIXELS : Self = Self ( 7i32 ) ; pub const BINDSTRING_UA_COLOR : Self = Self ( 8i32 ) ; pub const BINDSTRING_OS : Self = Self ( 9i32 ) ; pub const BINDSTRING_USER_AGENT : Self = Self ( 10i32 ) ; pub const BINDSTRING_ACCEPT_ENCODINGS : Self = Self ( 11i32 ) ; pub const BINDSTRING_POST_COOKIE : Self = Self ( 12i32 ) ; pub const BINDSTRING_POST_DATA_MIME : Self = Self ( 13i32 ) ; pub const BINDSTRING_URL : Self = Self ( 14i32 ) ; pub const BINDSTRING_IID : Self = Self ( 15i32 ) ; pub const BINDSTRING_FLAG_BIND_TO_OBJECT : Self = Self ( 16i32 ) ; pub const BINDSTRING_PTR_BIND_CONTEXT : Self = Self ( 17i32 ) ; pub const BINDSTRING_XDR_ORIGIN : Self = Self ( 18i32 ) ; pub const BINDSTRING_DOWNLOADPATH : Self = Self ( 19i32 ) ; pub const BINDSTRING_ROOTDOC_URL : Self = Self ( 20i32 ) ; pub const BINDSTRING_INITIAL_FILENAME : Self = Self ( 21i32 ) ; pub const BINDSTRING_PROXY_USERNAME : Self = Self ( 22i32 ) ; pub const BINDSTRING_PROXY_PASSWORD : Self = Self ( 23i32 ) ; pub const BINDSTRING_ENTERPRISE_ID : Self = Self ( 24i32 ) ; pub const BINDSTRING_DOC_URL : Self = Self ( 25i32 ) ; pub const BINDSTRING_SAMESITE_COOKIE_LEVEL : Self = Self ( 26i32 ) ; } impl :: std :: convert :: From < i32 > for BINDSTRING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDSTRING { type Abi = 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 ) ; impl BINDVERB { pub const BINDVERB_GET : Self = Self ( 0i32 ) ; pub const BINDVERB_POST : Self = Self ( 1i32 ) ; pub const BINDVERB_PUT : Self = Self ( 2i32 ) ; pub const BINDVERB_CUSTOM : Self = Self ( 3i32 ) ; pub const BINDVERB_RESERVED1 : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for BINDVERB { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDVERB { type Abi = 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 ) ; impl BIND_FLAGS { pub const BIND_MAYBOTHERUSER : Self = Self ( 1i32 ) ; pub const BIND_JUSTTESTEXISTENCE : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "grfFlags" , & format_args ! ( "{:?}" , self . grfFlags ) ) . field ( "grfMode" , & format_args ! ( "{:?}" , self . grfMode ) ) . field ( "dwTickCountDeadline" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . User ) ) . field ( "UserLength" , & format_args ! ( "{:?}" , self . UserLength ) ) . field ( "Domain" , & format_args ! ( "{:?}" , self . Domain ) ) . field ( "DomainLength" , & format_args ! ( "{:?}" , self . DomainLength ) ) . field ( "Password" , & format_args ! ( "{:?}" , self . Password ) ) . field ( "PasswordLength" , & format_args ! ( "{:?}" , self . PasswordLength ) ) . field ( "Flags" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct COAUTHINFO { pub dwAuthnSvc : u32 , pub dwAuthzSvc : u32 , pub pwszServerPrincName : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . dwAuthnSvc ) ) . field ( "dwAuthzSvc" , & format_args ! ( "{:?}" , self . dwAuthzSvc ) ) . field ( "pwszServerPrincName" , & format_args ! ( "{:?}" , self . pwszServerPrincName ) ) . field ( "dwAuthnLevel" , & format_args ! ( "{:?}" , self . dwAuthnLevel ) ) . field ( "dwImpersonationLevel" , & format_args ! ( "{:?}" , self . dwImpersonationLevel ) ) . field ( "pAuthIdentityData" , & format_args ! ( "{:?}" , self . pAuthIdentityData ) ) . field ( "dwCapabilities" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct COSERVERINFO { pub dwReserved1 : u32 , pub pwszName : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "pwszName" , & format_args ! ( "{:?}" , self . pwszName ) ) . field ( "pAuthInfo" , & format_args ! ( "{:?}" , self . pAuthInfo ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BIND_OPTS2 { pub __AnonymousBase_objidl_L8477_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_L8477_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_L8477_C36" , & format_args ! ( "{:?}" , self . __AnonymousBase_objidl_L8477_C36 ) ) . field ( "dwTrackFlags" , & format_args ! ( "{:?}" , self . dwTrackFlags ) ) . field ( "dwClassContext" , & format_args ! ( "{:?}" , self . dwClassContext ) ) . field ( "locale" , & format_args ! ( "{:?}" , self . locale ) ) . field ( "pServerInfo" , & format_args ! ( "{:?}" , self . pServerInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIND_OPTS2 { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_objidl_L8477_C36 == other . __AnonymousBase_objidl_L8477_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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BIND_OPTS3 { pub __AnonymousBase_objidl_L8501_C36 : BIND_OPTS2 , pub hwnd : super :: WindowsAndMessaging :: HWND } impl BIND_OPTS3 { } impl :: std :: default :: Default for BIND_OPTS3 { fn default ( ) -> Self { Self { __AnonymousBase_objidl_L8501_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_L8501_C36" , & format_args ! ( "{:?}" , self . __AnonymousBase_objidl_L8501_C36 ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIND_OPTS3 { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_objidl_L8501_C36 == other . __AnonymousBase_objidl_L8501_C36 && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for BIND_OPTS3 { } unsafe impl :: windows :: Abi for BIND_OPTS3 { type Abi = 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 ) ; impl BSCF { pub const BSCF_FIRSTDATANOTIFICATION : Self = Self ( 1i32 ) ; pub const BSCF_INTERMEDIATEDATANOTIFICATION : Self = Self ( 2i32 ) ; pub const BSCF_LASTDATANOTIFICATION : Self = Self ( 4i32 ) ; pub const BSCF_DATAFULLYAVAILABLE : Self = Self ( 8i32 ) ; pub const BSCF_AVAILABLEDATASIZEUNKNOWN : Self = Self ( 16i32 ) ; pub const BSCF_SKIPDRAINDATAFORFILEURLS : Self = Self ( 32i32 ) ; pub const BSCF_64BITLENGTHDOWNLOAD : Self = Self ( 64i32 ) ; } impl :: std :: convert :: From < i32 > for BSCF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BSCF { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "abData" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "pData" , & format_args ! ( "{:?}" , 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 ; } pub const BZ_DISABLECANCELBUTTON : i32 = 1i32 ; pub const BZ_DISABLERETRYBUTTON : i32 = 4i32 ; pub const BZ_DISABLESWITCHTOBUTTON : i32 = 2i32 ; pub const BZ_NOTRESPONDINGDIALOG : i32 = 8i32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersist ( :: windows :: IUnknown ) ; impl IPersist { } 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 IPersist { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistStream ( :: windows :: IUnknown ) ; impl IPersistStream { } 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 IPersistStream { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Load < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pstm : T0__ , fcleardirty : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSizeMax < > ( & self , pcbsize : * mut u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcbsize ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , fcleardirty : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u64 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMoniker ( :: windows :: IUnknown ) ; impl IMoniker { } 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 IMoniker { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Load < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pstm : T0__ , fcleardirty : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSizeMax < > ( & self , pcbsize : * mut u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcbsize ) , ) } pub unsafe fn BindToObject < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pbc : T0__ , pmktoleft : T1__ , riidresult : * const :: windows :: Guid , ppvresult : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riidresult ) , :: std :: mem :: transmute ( ppvresult ) , ) } pub unsafe fn BindToStorage < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pbc : T0__ , pmktoleft : T1__ , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , ) } pub unsafe fn Reduce < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pbc : T0__ , dwreducehowfar : u32 , ppmktoleft : * mut :: std :: option :: Option < IMoniker > , ppmkreduced : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ComposeWith < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pmkright : T0__ , fonlyifnotgeneric : T1__ , ppmkcomposite : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , pmkright . into_param ( ) . abi ( ) , fonlyifnotgeneric . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmkcomposite ) , ) } pub unsafe fn Enum < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fforward : T0__ , ppenummoniker : * mut :: std :: option :: Option < IEnumMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , fforward . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppenummoniker ) , ) } pub unsafe fn IsEqual < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmkothermoniker : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pmkothermoniker . into_param ( ) . abi ( ) , ) } pub unsafe fn Hash < > ( & self , pdwhash : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwhash ) , ) } pub unsafe fn IsRunning < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , T2__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pbc : T0__ , pmktoleft : T1__ , pmknewlyrunning : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , pmknewlyrunning . into_param ( ) . abi ( ) , ) } pub unsafe fn GetTimeOfLastChange < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pbc : T0__ , pmktoleft : T1__ , pfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfiletime ) , ) } pub unsafe fn Inverse < > ( & self , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppmk ) , ) } pub unsafe fn CommonPrefixWith < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmkother : T0__ , ppmkprefix : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , pmkother . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmkprefix ) , ) } pub unsafe fn RelativePathTo < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmkother : T0__ , ppmkrelpath : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , pmkother . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmkrelpath ) , ) } pub unsafe fn GetDisplayName < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pbc : T0__ , pmktoleft : T1__ , ppszdisplayname : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppszdisplayname ) , ) } pub unsafe fn ParseDisplayName < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pbc : T0__ , pmktoleft : T1__ , pszdisplayname : T2__ , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn IsSystemMoniker < > ( & self , pdwmksys : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwmksys ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , fcleardirty : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u64 , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , dwreducehowfar : u32 , ppmktoleft : * mut :: windows :: RawPtr , ppmkreduced : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkright : :: windows :: RawPtr , fonlyifnotgeneric : super :: SystemServices :: BOOL , ppmkcomposite : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fforward : super :: SystemServices :: BOOL , ppenummoniker : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkothermoniker : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhash : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , pmknewlyrunning : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , pfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkother : :: windows :: RawPtr , ppmkprefix : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkother : :: windows :: RawPtr , ppmkrelpath : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , ppszdisplayname : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , pszdisplayname : super :: SystemServices :: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwmksys : * mut u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn BindMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( pmk : T0__ , grfopt : u32 , iidresult : * const :: windows :: Guid , ppvresult : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cElems ) ) . field ( "pElems" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CALLFRAMEINFO { pub iMethod : u32 , pub fHasInValues : super :: SystemServices :: BOOL , pub fHasInOutValues : super :: SystemServices :: BOOL , pub fHasOutValues : super :: SystemServices :: BOOL , pub fDerivesFromIDispatch : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . iMethod ) ) . field ( "fHasInValues" , & format_args ! ( "{:?}" , self . fHasInValues ) ) . field ( "fHasInOutValues" , & format_args ! ( "{:?}" , self . fHasInOutValues ) ) . field ( "fHasOutValues" , & format_args ! ( "{:?}" , self . fHasOutValues ) ) . field ( "fDerivesFromIDispatch" , & format_args ! ( "{:?}" , self . fDerivesFromIDispatch ) ) . field ( "cInInterfacesMax" , & format_args ! ( "{:?}" , self . cInInterfacesMax ) ) . field ( "cInOutInterfacesMax" , & format_args ! ( "{:?}" , self . cInOutInterfacesMax ) ) . field ( "cOutInterfacesMax" , & format_args ! ( "{:?}" , self . cOutInterfacesMax ) ) . field ( "cTopLevelInInterfaces" , & format_args ! ( "{:?}" , self . cTopLevelInInterfaces ) ) . field ( "iid" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "cMethod" , & format_args ! ( "{:?}" , self . cMethod ) ) . field ( "cParams" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . fIn ) ) . field ( "fOut" , & format_args ! ( "{:?}" , self . fOut ) ) . field ( "stackOffset" , & format_args ! ( "{:?}" , self . stackOffset ) ) . field ( "cbParam" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl CALLFRAME_COPY { pub const CALLFRAME_COPY_NESTED : Self = Self ( 1i32 ) ; pub const CALLFRAME_COPY_INDEPENDENT : Self = Self ( 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 ; } # [ 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 ) ; impl CALLFRAME_FREE { pub const CALLFRAME_FREE_NONE : Self = Self ( 0i32 ) ; pub const CALLFRAME_FREE_IN : Self = Self ( 1i32 ) ; pub const CALLFRAME_FREE_INOUT : Self = Self ( 2i32 ) ; pub const CALLFRAME_FREE_OUT : Self = Self ( 4i32 ) ; pub const CALLFRAME_FREE_TOP_INOUT : Self = Self ( 8i32 ) ; pub const CALLFRAME_FREE_TOP_OUT : Self = Self ( 16i32 ) ; pub const CALLFRAME_FREE_ALL : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . fIn ) ) . field ( "dwDestContext" , & format_args ! ( "{:?}" , self . dwDestContext ) ) . field ( "pvDestContext" , & format_args ! ( "{:?}" , self . pvDestContext ) ) . field ( "punkReserved" , & format_args ! ( "{:?}" , self . punkReserved ) ) . field ( "guidTransferSyntax" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl CALLFRAME_NULL { pub const CALLFRAME_NULL_NONE : Self = Self ( 0i32 ) ; pub const CALLFRAME_NULL_INOUT : Self = Self ( 2i32 ) ; pub const CALLFRAME_NULL_OUT : Self = Self ( 4i32 ) ; pub const CALLFRAME_NULL_ALL : Self = Self ( 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 ; } # [ 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 ) ; impl CALLFRAME_WALK { pub const CALLFRAME_WALK_IN : Self = Self ( 1i32 ) ; pub const CALLFRAME_WALK_INOUT : Self = Self ( 2i32 ) ; pub const CALLFRAME_WALK_OUT : Self = Self ( 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 ; } # [ 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 ) ; impl CALLTYPE { pub const CALLTYPE_TOPLEVEL : Self = Self ( 1i32 ) ; pub const CALLTYPE_NESTED : Self = Self ( 2i32 ) ; pub const CALLTYPE_ASYNC : Self = Self ( 3i32 ) ; pub const CALLTYPE_TOPLEVEL_CALLPENDING : Self = Self ( 4i32 ) ; pub const CALLTYPE_ASYNC_CALLPENDING : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for CALLTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CALLTYPE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CALPOLESTR { pub cElems : u32 , pub pElems : * mut super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cElems ) ) . field ( "pElems" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . catid ) ) . field ( "lcid" , & format_args ! ( "{:?}" , self . lcid ) ) . field ( "szDescription" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cElems ) ) . field ( "pElems" , & format_args ! ( "{:?}" , 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 ; } 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 ) ; impl CIP_STATUS { pub const CIP_DISK_FULL : Self = Self ( 0i32 ) ; pub const CIP_ACCESS_DENIED : Self = Self ( 1i32 ) ; pub const CIP_NEWER_VERSION_EXISTS : Self = Self ( 2i32 ) ; pub const CIP_OLDER_VERSION_EXISTS : Self = Self ( 3i32 ) ; pub const CIP_NAME_CONFLICT : Self = Self ( 4i32 ) ; pub const CIP_TRUST_VERIFICATION_COMPONENT_MISSING : Self = Self ( 5i32 ) ; pub const CIP_EXE_SELF_REGISTERATION_TIMEOUT : Self = Self ( 6i32 ) ; pub const CIP_UNSAFE_TO_ABORT : Self = Self ( 7i32 ) ; pub const CIP_NEED_REBOOT : Self = Self ( 8i32 ) ; pub const CIP_NEED_REBOOT_UI_PERMISSION : Self = Self ( 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 ; } pub unsafe fn CLIPFORMAT_UserFree < > ( param0 : * mut u32 , param1 : * mut u16 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserFree64 < > ( param0 : * mut u32 , param1 : * mut u16 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut u16 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut u16 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { panic ! ( "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 i32 ) ; impl CLSCTX { pub const CLSCTX_INPROC_SERVER : Self = Self ( 1i32 ) ; pub const CLSCTX_INPROC_HANDLER : Self = Self ( 2i32 ) ; pub const CLSCTX_LOCAL_SERVER : Self = Self ( 4i32 ) ; pub const CLSCTX_INPROC_SERVER16 : Self = Self ( 8i32 ) ; pub const CLSCTX_REMOTE_SERVER : Self = Self ( 16i32 ) ; pub const CLSCTX_INPROC_HANDLER16 : Self = Self ( 32i32 ) ; pub const CLSCTX_RESERVED1 : Self = Self ( 64i32 ) ; pub const CLSCTX_RESERVED2 : Self = Self ( 128i32 ) ; pub const CLSCTX_RESERVED3 : Self = Self ( 256i32 ) ; pub const CLSCTX_RESERVED4 : Self = Self ( 512i32 ) ; pub const CLSCTX_NO_CODE_DOWNLOAD : Self = Self ( 1024i32 ) ; pub const CLSCTX_RESERVED5 : Self = Self ( 2048i32 ) ; pub const CLSCTX_NO_CUSTOM_MARSHAL : Self = Self ( 4096i32 ) ; pub const CLSCTX_ENABLE_CODE_DOWNLOAD : Self = Self ( 8192i32 ) ; pub const CLSCTX_NO_FAILURE_LOG : Self = Self ( 16384i32 ) ; pub const CLSCTX_DISABLE_AAA : Self = Self ( 32768i32 ) ; pub const CLSCTX_ENABLE_AAA : Self = Self ( 65536i32 ) ; pub const CLSCTX_FROM_DEFAULT_CONTEXT : Self = Self ( 131072i32 ) ; pub const CLSCTX_ACTIVATE_X86_SERVER : Self = Self ( 262144i32 ) ; pub const CLSCTX_ACTIVATE_32_BIT_SERVER : Self = Self ( 262144i32 ) ; pub const CLSCTX_ACTIVATE_64_BIT_SERVER : Self = Self ( 524288i32 ) ; pub const CLSCTX_ENABLE_CLOAKING : Self = Self ( 1048576i32 ) ; pub const CLSCTX_APPCONTAINER : Self = Self ( 4194304i32 ) ; pub const CLSCTX_ACTIVATE_AAA_AS_IU : Self = Self ( 8388608i32 ) ; pub const CLSCTX_RESERVED6 : Self = Self ( 16777216i32 ) ; pub const CLSCTX_ACTIVATE_ARM32_SERVER : Self = Self ( 33554432i32 ) ; pub const CLSCTX_PS_DLL : Self = Self ( -2147483648i32 ) ; } impl :: std :: convert :: From < i32 > for CLSCTX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLSCTX { type Abi = Self ; } pub unsafe fn CLSIDFromProgID < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszprogid : T0__ , lpclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLSIDFromProgIDEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszprogid : T0__ , lpclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CLSIDFromString < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "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 ] , ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CODEBASEHOLD { pub cbSize : u32 , pub szDistUnit : super :: SystemServices :: PWSTR , pub szCodeBase : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "szDistUnit" , & format_args ! ( "{:?}" , self . szDistUnit ) ) . field ( "szCodeBase" , & format_args ! ( "{:?}" , self . szCodeBase ) ) . field ( "dwVersionMS" , & format_args ! ( "{:?}" , self . dwVersionMS ) ) . field ( "dwVersionLS" , & format_args ! ( "{:?}" , self . dwVersionLS ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , 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 ; } # [ 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 i32 ) ; impl COINIT { pub const COINIT_APARTMENTTHREADED : Self = Self ( 2i32 ) ; pub const COINIT_MULTITHREADED : Self = Self ( 0i32 ) ; pub const COINIT_DISABLE_OLE1DDE : Self = Self ( 4i32 ) ; pub const COINIT_SPEED_OVER_MEMORY : Self = Self ( 8i32 ) ; } impl :: std :: convert :: From < i32 > for COINIT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COINIT { type Abi = Self ; } # [ 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 ) ; impl COINITBASE { pub const COINITBASE_MULTITHREADED : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for COINITBASE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COINITBASE { type Abi = 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 ) ; impl COMSD { pub const SD_LAUNCHPERMISSIONS : Self = Self ( 0i32 ) ; pub const SD_ACCESSPERMISSIONS : Self = Self ( 1i32 ) ; pub const SD_LAUNCHRESTRICTIONS : Self = Self ( 2i32 ) ; pub const SD_ACCESSRESTRICTIONS : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for COMSD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COMSD { type Abi = 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 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "pUnk" , & format_args ! ( "{:?}" , self . pUnk ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , 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 ; } pub const CONFIRMSAFETYACTION_LOADOBJECT : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . pUnk ) ) . field ( "dwCookie" , & format_args ! ( "{:?}" , 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 ; } pub const CONNECT_E_ADVISELIMIT : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220991i32 as _ ) ; pub const CONNECT_E_CANNOTCONNECT : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220990i32 as _ ) ; pub const CONNECT_E_FIRST : i32 = -2147220992i32 ; pub const CONNECT_E_NOCONNECTION : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220992i32 as _ ) ; pub const CONNECT_E_OVERRIDDEN : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220989i32 as _ ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CONTROLINFO { pub cb : u32 , pub hAccel : super :: MenusAndResources :: 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" , & format_args ! ( "{:?}" , self . cb ) ) . field ( "hAccel" , & format_args ! ( "{:?}" , self . hAccel ) ) . field ( "cAccel" , & format_args ! ( "{:?}" , self . cAccel ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl COWAIT_FLAGS { pub const COWAIT_DEFAULT : Self = Self ( 0i32 ) ; pub const COWAIT_WAITALL : Self = Self ( 1i32 ) ; pub const COWAIT_ALERTABLE : Self = Self ( 2i32 ) ; pub const COWAIT_INPUTAVAILABLE : Self = Self ( 4i32 ) ; pub const COWAIT_DISPATCH_CALLS : Self = Self ( 8i32 ) ; pub const COWAIT_DISPATCH_WINDOW_MESSAGES : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 :: 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" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl CO_MARSHALING_CONTEXT_ATTRIBUTES { pub const CO_MARSHALING_SOURCE_IS_APP_CONTAINER : Self = Self ( 0i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_1 : Self = Self ( -2147483648i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_2 : Self = Self ( -2147483647i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_3 : Self = Self ( -2147483646i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_4 : Self = Self ( -2147483645i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_5 : Self = Self ( -2147483644i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_6 : Self = Self ( -2147483643i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_7 : Self = Self ( -2147483642i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_8 : Self = Self ( -2147483641i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_9 : Self = Self ( -2147483640i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_10 : Self = Self ( -2147483639i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_11 : Self = Self ( -2147483638i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_12 : Self = Self ( -2147483637i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_13 : Self = Self ( -2147483636i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_14 : Self = Self ( -2147483635i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_15 : Self = Self ( -2147483634i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_16 : Self = Self ( -2147483633i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_17 : Self = Self ( -2147483632i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_18 : Self = Self ( -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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 :: 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" , & format_args ! ( "{:?}" , 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 ; } pub const CSF_EXPLORER : i32 = 8i32 ; pub const CSF_ONLYGETSOURCE : i32 = 4i32 ; pub const CSF_SHOWHELP : i32 = 1i32 ; pub const CSF_VALIDSOURCE : i32 = 2i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . dwPlatformId ) ) . field ( "dwVersionHi" , & format_args ! ( "{:?}" , self . dwVersionHi ) ) . field ( "dwVersionLo" , & format_args ! ( "{:?}" , self . dwVersionLo ) ) . field ( "dwProcessorArch" , & format_args ! ( "{:?}" , 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 ; } 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 ) ; impl CTRLINFO { pub const CTRLINFO_EATS_RETURN : Self = Self ( 1i32 ) ; pub const CTRLINFO_EATS_ESCAPE : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for CTRLINFO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CTRLINFO { type Abi = 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 ) ; impl CWMO_FLAGS { pub const CWMO_DEFAULT : Self = Self ( 0i32 ) ; pub const CWMO_DISPATCH_CALLS : Self = Self ( 1i32 ) ; pub const CWMO_DISPATCH_WINDOW_MESSAGES : Self = Self ( 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 ; } pub const CWMO_MAX_HANDLES : u32 = 56u32 ; pub unsafe fn CoAddRefServerProcess < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoAllowSetForegroundWindow < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , lpvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoAllowUnmarshalerCLSID < > ( clsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCancelCall < > ( dwthreadid : u32 , ultimeout : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCopyProxy < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( pproxy : T0__ , ppcopy : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateFreeThreadedMarshaler < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punkouter : T0__ , ppunkmarshal : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateGuid < > ( pguid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateInstance < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( rclsid : * const :: windows :: Guid , punkouter : T1__ , dwclscontext : u32 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct MULTI_QI { pub pIID : * mut :: windows :: Guid , pub pItf : :: std :: option :: Option < :: windows :: IUnknown > , pub hr : :: windows :: ErrorCode } 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" , & format_args ! ( "{:?}" , self . pIID ) ) . field ( "pItf" , & format_args ! ( "{:?}" , self . pItf ) ) . field ( "hr" , & format_args ! ( "{:?}" , 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 :: ErrorCode } unsafe impl :: windows :: Abi for MULTI_QI { type Abi = MULTI_QI_abi ; } pub unsafe fn CoCreateInstanceEx < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( clsid : * const :: windows :: Guid , punkouter : T1__ , dwclsctx : u32 , pserverinfo : * mut COSERVERINFO , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateInstanceFromApp < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( clsid : * const :: windows :: Guid , punkouter : T1__ , dwclsctx : u32 , reserved : * mut :: std :: ffi :: c_void , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDecrementMTAUsage < 'a , T0__ : :: windows :: IntoParam < 'a , CO_MTA_USAGE_COOKIE > , > ( cookie : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDisableCallCancellation < > ( preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDisconnectContext < > ( dwtimeout : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDisconnectObject < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDosDateTimeToFileTime < > ( ndosdate : u16 , ndostime : u16 , lpfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoEnableCallCancellation < > ( preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFileTimeNow < > ( lpfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFileTimeToDosDateTime < > ( lpfiletime : * mut super :: WindowsProgramming :: FILETIME , lpdosdate : * mut u16 , lpdostime : * mut u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeAllLibraries < > ( ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeLibrary < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinst : T0__ , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeUnusedLibraries < > ( ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeUnusedLibrariesEx < > ( dwunloaddelay : u32 , dwreserved : u32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetApartmentType < > ( papttype : * mut APTTYPE , paptqualifier : * mut APTTYPEQUALIFIER , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCallContext < > ( riid : * const :: windows :: Guid , ppinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCallerTID < > ( lpdwtid : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCancelObject < > ( dwthreadid : u32 , iid : * const :: windows :: Guid , ppunk : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetClassObject < > ( rclsid : * const :: windows :: Guid , dwclscontext : u32 , pvreserved : * mut :: std :: ffi :: c_void , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindCtx ( :: windows :: IUnknown ) ; impl IBindCtx { } 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 IBindCtx { pub unsafe fn RegisterObjectBound < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punk : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punk . into_param ( ) . abi ( ) , ) } pub unsafe fn RevokeObjectBound < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punk : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , punk . into_param ( ) . abi ( ) , ) } pub unsafe fn ReleaseBoundObjects < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetBindOptions < > ( & self , pbindopts : * mut BIND_OPTS , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbindopts ) , ) } pub unsafe fn GetBindOptions < > ( & self , pbindopts : * mut BIND_OPTS , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbindopts ) , ) } pub unsafe fn GetRunningObjectTable < > ( & self , pprot : * mut :: std :: option :: Option < IRunningObjectTable > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprot ) , ) } pub unsafe fn RegisterObjectParam < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pszkey : T0__ , punk : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pszkey . into_param ( ) . abi ( ) , punk . into_param ( ) . abi ( ) , ) } pub unsafe fn GetObjectParam < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszkey : T0__ , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , pszkey . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppunk ) , ) } pub unsafe fn EnumObjectParam < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumString > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } pub unsafe fn RevokeObjectParam < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszkey : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszkey . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punk : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbindopts : * mut BIND_OPTS , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbindopts : * mut BIND_OPTS , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprot : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszkey : super :: SystemServices :: PWSTR , punk : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszkey : super :: SystemServices :: PWSTR , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszkey : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoGetClassObjectFromURL < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( rclassid : * const :: windows :: Guid , szcode : T1__ , dwfileversionms : u32 , dwfileversionls : u32 , sztype : T4__ , pbindctx : T5__ , dwclscontext : u32 , pvreserved : * mut :: std :: ffi :: c_void , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetContextToken < > ( ptoken : * mut usize , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCurrentLogicalThreadId < > ( pguid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCurrentProcess < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInstanceFromFile < 'a , T2__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pserverinfo : * mut COSERVERINFO , pclsid : * mut :: windows :: Guid , punkouter : T2__ , dwclsctx : u32 , grfmode : u32 , pwszname : T5__ , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInstanceFromIStorage < 'a , T2__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T4__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( pserverinfo : * mut COSERVERINFO , pclsid : * mut :: windows :: Guid , punkouter : T2__ , dwclsctx : u32 , pstg : T4__ , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInterceptor < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( iidintercepted : * const :: windows :: Guid , punkouter : T1__ , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInterceptorFromTypeInfo < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T2__ : :: windows :: IntoParam < 'a , super :: Automation :: ITypeInfo > , > ( iidintercepted : * const :: windows :: Guid , punkouter : T1__ , typeinfo : T2__ , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInterfaceAndReleaseStream < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( pstm : T0__ , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMalloc ( :: windows :: IUnknown ) ; impl IMalloc { } 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 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 , ) , ) ; pub unsafe fn CoGetMalloc < > ( dwmemcontext : u32 , ppmalloc : * mut :: std :: option :: Option < IMalloc > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetMarshalSizeMax < 'a , T2__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( pulsize : * mut u32 , riid : * const :: windows :: Guid , punk : T2__ , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetObject < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pszname : T0__ , pbindoptions : * mut BIND_OPTS , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetObjectContext < > ( riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetPSClsid < > ( riid : * const :: windows :: Guid , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMarshal ( :: windows :: IUnknown ) ; impl IMarshal { } 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 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 :: ErrorCode { ( :: 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 ) , ) } 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn MarshalInterface < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn UnmarshalInterface < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppv ) , ) } pub unsafe fn ReleaseMarshalData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn DisconnectObject < > ( & self , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoGetStandardMarshal < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( riid : * const :: windows :: Guid , punk : T1__ , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ppmarshal : * mut :: std :: option :: Option < IMarshal > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetStdMarshalEx < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punkouter : T0__ , smexflags : u32 , ppunkinner : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetSystemSecurityPermissions < > ( comsdtype : COMSD , ppsd : * mut * mut super :: Security :: SECURITY_DESCRIPTOR , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetTreatAsClass < > ( clsidold : * const :: windows :: Guid , pclsidnew : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoHandlePriorityEventsFromMessagePump < > ( ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoImpersonateClient < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoIncrementMTAUsage < > ( pcookie : * mut CO_MTA_USAGE_COOKIE , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInitialize < > ( pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInitializeEx < > ( pvreserved : * mut :: std :: ffi :: c_void , dwcoinit : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SOLE_AUTHENTICATION_SERVICE { pub dwAuthnSvc : u32 , pub dwAuthzSvc : u32 , pub pPrincipalName : super :: SystemServices :: PWSTR , pub hr : :: windows :: ErrorCode } 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" , & format_args ! ( "{:?}" , self . dwAuthnSvc ) ) . field ( "dwAuthzSvc" , & format_args ! ( "{:?}" , self . dwAuthzSvc ) ) . field ( "pPrincipalName" , & format_args ! ( "{:?}" , self . pPrincipalName ) ) . field ( "hr" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn CoInitializeSecurity < > ( psecdesc : * mut super :: Security :: SECURITY_DESCRIPTOR , cauthsvc : i32 , asauthsvc : * mut SOLE_AUTHENTICATION_SERVICE , preserved1 : * mut :: std :: ffi :: c_void , dwauthnlevel : u32 , dwimplevel : u32 , pauthlist : * mut :: std :: ffi :: c_void , dwcapabilities : u32 , preserved3 : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUri ( :: windows :: IUnknown ) ; impl IUri { } 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 IUri { pub unsafe fn GetPropertyLength < > ( & self , uriprop : Uri_PROPERTY , pcchproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , :: std :: mem :: transmute ( pcchproperty ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetPropertyDWORD < > ( & self , uriprop : Uri_PROPERTY , pdwproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , :: std :: mem :: transmute ( pdwproperty ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn HasProperty < > ( & self , uriprop : Uri_PROPERTY , pfhasproperty : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , :: std :: mem :: transmute ( pfhasproperty ) , ) } pub unsafe fn GetHostType < > ( & self , pdwhosttype : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwhosttype ) , ) } pub unsafe fn GetPort < > ( & self , pdwport : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwport ) , ) } pub unsafe fn GetScheme < > ( & self , pdwscheme : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwscheme ) , ) } pub unsafe fn GetZone < > ( & self , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwzone ) , ) } pub unsafe fn GetProperties < > ( & self , pdwflags : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .26 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwflags ) , ) } pub unsafe fn IsEqual < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( & self , puri : T0__ , pfequal : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .27 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfequal ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uriprop : Uri_PROPERTY , pcchproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uriprop : Uri_PROPERTY , pdwproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uriprop : Uri_PROPERTY , pfhasproperty : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhosttype : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwport : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwscheme : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwflags : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , pfequal : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoInternetCombineIUri < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , T1__ : :: windows :: IntoParam < 'a , IUri > , > ( pbaseuri : T0__ , prelativeuri : T1__ , dwcombineflags : u32 , ppcombineduri : * mut :: std :: option :: Option < IUri > , dwreserved : usize , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCombineUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzbaseurl : T0__ , pwzrelativeurl : T1__ , dwcombineflags : u32 , pszresult : super :: SystemServices :: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCombineUrlEx < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pbaseuri : T0__ , pwzrelativeurl : T1__ , dwcombineflags : u32 , ppcombineduri : * mut :: std :: option :: Option < IUri > , dwreserved : usize , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCompareUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzurl1 : T0__ , pwzurl2 : T1__ , dwflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityManager ( :: windows :: IUnknown ) ; impl IInternetSecurityManager { } 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 IInternetSecurityManager { pub unsafe fn SetSecuritySite < 'a , T0__ : :: windows :: IntoParam < 'a , IInternetSecurityMgrSite > , > ( & self , psite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psite . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSecuritySite < > ( & self , ppsite : * mut :: std :: option :: Option < IInternetSecurityMgrSite > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppsite ) , ) } pub unsafe fn MapUrlToZone < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetSecurityId < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ProcessUrlAction < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn QueryCustomPolicy < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneMapping < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwzone : u32 , lpszpattern : T1__ , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , lpszpattern . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneMappings < > ( & self , dwzone : u32 , ppenumstring : * mut :: std :: option :: Option < IEnumString > , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( ppenumstring ) , :: std :: mem :: transmute ( dwflags ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsite : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , lpszpattern : super :: SystemServices :: PWSTR , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ppenumstring : * mut :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoInternetCreateSecurityManager < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: IServiceProvider > , > ( psp : T0__ , ppsm : * mut :: std :: option :: Option < IInternetSecurityManager > , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetZoneManager ( :: windows :: IUnknown ) ; impl IInternetZoneManager { } 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 IInternetZoneManager { pub unsafe fn GetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) } pub unsafe fn SetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) } pub unsafe fn GetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn PromptAction < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwaction : u32 , hwndparent : T1__ , pwszurl : T2__ , pwsztext : T3__ , dwpromptflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn LogAction < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwaction : u32 , pwszurl : T1__ , pwsztext : T2__ , dwlogflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CreateZoneEnumerator < > ( & self , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwenum ) , :: std :: mem :: transmute ( pdwcount ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneAt < > ( & self , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , :: std :: mem :: transmute ( dwindex ) , :: std :: mem :: transmute ( pdwzone ) , ) } pub unsafe fn DestroyZoneEnumerator < > ( & self , dwenum : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , ) } pub unsafe fn CopyTemplatePoliciesToZone < > ( & self , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtemplate ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , hwndparent : super :: WindowsAndMessaging :: HWND , pwszurl : super :: SystemServices :: PWSTR , pwsztext : super :: SystemServices :: PWSTR , dwpromptflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , pwszurl : super :: SystemServices :: PWSTR , pwsztext : super :: SystemServices :: PWSTR , dwlogflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoInternetCreateZoneManager < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: IServiceProvider > , > ( psp : T0__ , ppzm : * mut :: std :: option :: Option < IInternetZoneManager > , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetGetProtocolFlags < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzurl : T0__ , pdwflags : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 PSUACTION ( pub i32 ) ; impl PSUACTION { pub const PSU_DEFAULT : Self = Self ( 1i32 ) ; pub const PSU_SECURITY_URL_ONLY : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for PSUACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PSUACTION { type Abi = Self ; } pub unsafe fn CoInternetGetSecurityUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwszurl : T0__ , ppwszsecurl : * mut super :: SystemServices :: PWSTR , psuaction : PSUACTION , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetGetSecurityUrlEx < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( puri : T0__ , ppsecuri : * mut :: std :: option :: Option < IUri > , psuaction : PSUACTION , dwreserved : usize , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSession ( :: windows :: IUnknown ) ; impl IInternetSession { } 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 IInternetSession { pub unsafe fn RegisterNameSpace < 'a , T0__ : :: windows :: IntoParam < 'a , IClassFactory > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pcf : T0__ , rclsid : * const :: windows :: Guid , pwzprotocol : T2__ , cpatterns : u32 , ppwzpatterns : * const super :: SystemServices :: PWSTR , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn UnregisterNameSpace < 'a , T0__ : :: windows :: IntoParam < 'a , IClassFactory > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pcf : T0__ , pszprotocol : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , pszprotocol . into_param ( ) . abi ( ) , ) } pub unsafe fn RegisterMimeFilter < 'a , T0__ : :: windows :: IntoParam < 'a , IClassFactory > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pcf : T0__ , rclsid : * const :: windows :: Guid , pwztype : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rclsid ) , pwztype . into_param ( ) . abi ( ) , ) } pub unsafe fn UnregisterMimeFilter < 'a , T0__ : :: windows :: IntoParam < 'a , IClassFactory > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pcf : T0__ , pwztype : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , pwztype . into_param ( ) . abi ( ) , ) } pub unsafe fn CreateBinding < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pbc : T0__ , szurl : T1__ , punkouter : T2__ , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ppoinetprot : * mut :: std :: option :: Option < IInternetProtocol > , dwoption : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetSessionOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetSessionOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pdwbufferlength : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , cpatterns : u32 , ppwzpatterns : * const super :: SystemServices :: PWSTR , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcf : :: windows :: RawPtr , pszprotocol : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcf : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , pwztype : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcf : :: windows :: RawPtr , pwztype : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , szurl : super :: SystemServices :: PWSTR , punkouter : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ppoinetprot : * mut :: windows :: RawPtr , dwoption : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pdwbufferlength : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoInternetGetSession < > ( dwsessionmode : u32 , ppiinternetsession : * mut :: std :: option :: Option < IInternetSession > , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 INTERNETFEATURELIST ( pub i32 ) ; impl INTERNETFEATURELIST { pub const FEATURE_OBJECT_CACHING : Self = Self ( 0i32 ) ; pub const FEATURE_ZONE_ELEVATION : Self = Self ( 1i32 ) ; pub const FEATURE_MIME_HANDLING : Self = Self ( 2i32 ) ; pub const FEATURE_MIME_SNIFFING : Self = Self ( 3i32 ) ; pub const FEATURE_WINDOW_RESTRICTIONS : Self = Self ( 4i32 ) ; pub const FEATURE_WEBOC_POPUPMANAGEMENT : Self = Self ( 5i32 ) ; pub const FEATURE_BEHAVIORS : Self = Self ( 6i32 ) ; pub const FEATURE_DISABLE_MK_PROTOCOL : Self = Self ( 7i32 ) ; pub const FEATURE_LOCALMACHINE_LOCKDOWN : Self = Self ( 8i32 ) ; pub const FEATURE_SECURITYBAND : Self = Self ( 9i32 ) ; pub const FEATURE_RESTRICT_ACTIVEXINSTALL : Self = Self ( 10i32 ) ; pub const FEATURE_VALIDATE_NAVIGATE_URL : Self = Self ( 11i32 ) ; pub const FEATURE_RESTRICT_FILEDOWNLOAD : Self = Self ( 12i32 ) ; pub const FEATURE_ADDON_MANAGEMENT : Self = Self ( 13i32 ) ; pub const FEATURE_PROTOCOL_LOCKDOWN : Self = Self ( 14i32 ) ; pub const FEATURE_HTTP_USERNAME_PASSWORD_DISABLE : Self = Self ( 15i32 ) ; pub const FEATURE_SAFE_BINDTOOBJECT : Self = Self ( 16i32 ) ; pub const FEATURE_UNC_SAVEDFILECHECK : Self = Self ( 17i32 ) ; pub const FEATURE_GET_URL_DOM_FILEPATH_UNENCODED : Self = Self ( 18i32 ) ; pub const FEATURE_TABBED_BROWSING : Self = Self ( 19i32 ) ; pub const FEATURE_SSLUX : Self = Self ( 20i32 ) ; pub const FEATURE_DISABLE_NAVIGATION_SOUNDS : Self = Self ( 21i32 ) ; pub const FEATURE_DISABLE_LEGACY_COMPRESSION : Self = Self ( 22i32 ) ; pub const FEATURE_FORCE_ADDR_AND_STATUS : Self = Self ( 23i32 ) ; pub const FEATURE_XMLHTTP : Self = Self ( 24i32 ) ; pub const FEATURE_DISABLE_TELNET_PROTOCOL : Self = Self ( 25i32 ) ; pub const FEATURE_FEEDS : Self = Self ( 26i32 ) ; pub const FEATURE_BLOCK_INPUT_PROMPTS : Self = Self ( 27i32 ) ; pub const FEATURE_ENTRY_COUNT : Self = Self ( 28i32 ) ; } impl :: std :: convert :: From < i32 > for INTERNETFEATURELIST { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for INTERNETFEATURELIST { type Abi = Self ; } pub unsafe fn CoInternetIsFeatureEnabled < > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityManagerEx ( :: windows :: IUnknown ) ; impl IInternetSecurityManagerEx { } 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 IInternetSecurityManagerEx { pub unsafe fn SetSecuritySite < 'a , T0__ : :: windows :: IntoParam < 'a , IInternetSecurityMgrSite > , > ( & self , psite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psite . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSecuritySite < > ( & self , ppsite : * mut :: std :: option :: Option < IInternetSecurityMgrSite > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppsite ) , ) } pub unsafe fn MapUrlToZone < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetSecurityId < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ProcessUrlAction < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn QueryCustomPolicy < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneMapping < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwzone : u32 , lpszpattern : T1__ , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , lpszpattern . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneMappings < > ( & self , dwzone : u32 , ppenumstring : * mut :: std :: option :: Option < IEnumString > , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( ppenumstring ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn ProcessUrlActionEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsite : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , lpszpattern : super :: SystemServices :: PWSTR , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ppenumstring : * mut :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityManagerEx2 ( :: windows :: IUnknown ) ; impl IInternetSecurityManagerEx2 { } 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 IInternetSecurityManagerEx2 { pub unsafe fn SetSecuritySite < 'a , T0__ : :: windows :: IntoParam < 'a , IInternetSecurityMgrSite > , > ( & self , psite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psite . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSecuritySite < > ( & self , ppsite : * mut :: std :: option :: Option < IInternetSecurityMgrSite > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppsite ) , ) } pub unsafe fn MapUrlToZone < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetSecurityId < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ProcessUrlAction < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn QueryCustomPolicy < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneMapping < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwzone : u32 , lpszpattern : T1__ , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , lpszpattern . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneMappings < > ( & self , dwzone : u32 , ppenumstring : * mut :: std :: option :: Option < IEnumString > , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( ppenumstring ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn ProcessUrlActionEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwszurl : T0__ , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn MapUrlToZoneEx2 < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( & self , puri : T0__ , pdwzone : * mut u32 , dwflags : u32 , ppwszmappedurl : * mut super :: SystemServices :: PWSTR , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ProcessUrlActionEx2 < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( & self , puri : T0__ , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : usize , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetSecurityIdEx2 < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( & self , puri : T0__ , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn QueryCustomPolicyEx2 < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( & self , puri : T0__ , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsite : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , lpszpattern : super :: SystemServices :: PWSTR , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ppenumstring : * mut :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super :: SystemServices :: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , pdwzone : * mut u32 , dwflags : u32 , ppwszmappedurl : * mut super :: SystemServices :: PWSTR , pdwoutflags : * mut u32 , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , ) ; pub unsafe fn CoInternetIsFeatureEnabledForIUri < 'a , T2__ : :: windows :: IntoParam < 'a , IUri > , T3__ : :: windows :: IntoParam < 'a , IInternetSecurityManagerEx2 > , > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , piuri : T2__ , psecmgr : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetIsFeatureEnabledForUrl < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , IInternetSecurityManager > , > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , szurl : T2__ , psecmgr : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetIsFeatureZoneElevationEnabled < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , IInternetSecurityManager > , > ( szfromurl : T0__ , sztourl : T1__ , psecmgr : T2__ , dwflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 PARSEACTION ( pub i32 ) ; impl PARSEACTION { pub const PARSE_CANONICALIZE : Self = Self ( 1i32 ) ; pub const PARSE_FRIENDLY : Self = Self ( 2i32 ) ; pub const PARSE_SECURITY_URL : Self = Self ( 3i32 ) ; pub const PARSE_ROOTDOCUMENT : Self = Self ( 4i32 ) ; pub const PARSE_DOCUMENT : Self = Self ( 5i32 ) ; pub const PARSE_ANCHOR : Self = Self ( 6i32 ) ; pub const PARSE_ENCODE_IS_UNESCAPE : Self = Self ( 7i32 ) ; pub const PARSE_DECODE_IS_ESCAPE : Self = Self ( 8i32 ) ; pub const PARSE_PATH_FROM_URL : Self = Self ( 9i32 ) ; pub const PARSE_URL_FROM_PATH : Self = Self ( 10i32 ) ; pub const PARSE_MIME : Self = Self ( 11i32 ) ; pub const PARSE_SERVER : Self = Self ( 12i32 ) ; pub const PARSE_SCHEMA : Self = Self ( 13i32 ) ; pub const PARSE_SITE : Self = Self ( 14i32 ) ; pub const PARSE_DOMAIN : Self = Self ( 15i32 ) ; pub const PARSE_LOCATION : Self = Self ( 16i32 ) ; pub const PARSE_SECURITY_DOMAIN : Self = Self ( 17i32 ) ; pub const PARSE_ESCAPE : Self = Self ( 18i32 ) ; pub const PARSE_UNESCAPE : Self = Self ( 19i32 ) ; } impl :: std :: convert :: From < i32 > for PARSEACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PARSEACTION { type Abi = Self ; } pub unsafe fn CoInternetParseIUri < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( piuri : T0__ , parseaction : PARSEACTION , dwflags : u32 , pwzresult : super :: SystemServices :: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetParseUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzurl : T0__ , parseaction : PARSEACTION , dwflags : u32 , pszresult : super :: SystemServices :: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 QUERYOPTION ( pub i32 ) ; impl QUERYOPTION { pub const QUERY_EXPIRATION_DATE : Self = Self ( 1i32 ) ; pub const QUERY_TIME_OF_LAST_CHANGE : Self = Self ( 2i32 ) ; pub const QUERY_CONTENT_ENCODING : Self = Self ( 3i32 ) ; pub const QUERY_CONTENT_TYPE : Self = Self ( 4i32 ) ; pub const QUERY_REFRESH : Self = Self ( 5i32 ) ; pub const QUERY_RECOMBINE : Self = Self ( 6i32 ) ; pub const QUERY_CAN_NAVIGATE : Self = Self ( 7i32 ) ; pub const QUERY_USES_NETWORK : Self = Self ( 8i32 ) ; pub const QUERY_IS_CACHED : Self = Self ( 9i32 ) ; pub const QUERY_IS_INSTALLEDENTRY : Self = Self ( 10i32 ) ; pub const QUERY_IS_CACHED_OR_MAPPED : Self = Self ( 11i32 ) ; pub const QUERY_USES_CACHE : Self = Self ( 12i32 ) ; pub const QUERY_IS_SECURE : Self = Self ( 13i32 ) ; pub const QUERY_IS_SAFE : Self = Self ( 14i32 ) ; pub const QUERY_USES_HISTORYFOLDER : Self = Self ( 15i32 ) ; pub const QUERY_IS_CACHED_AND_USABLE_OFFLINE : Self = Self ( 16i32 ) ; } impl :: std :: convert :: From < i32 > for QUERYOPTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for QUERYOPTION { type Abi = Self ; } pub unsafe fn CoInternetQueryInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzurl : T0__ , queryoptions : QUERYOPTION , dwqueryflags : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuffer : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetSetFeatureEnabled < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , fenable : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInvalidateRemoteMachineBindings < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pszmachinename : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoIsHandlerConnected < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoIsOle1Class < > ( rclsid : * const :: windows :: Guid , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoLoadLibrary < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lpszlibname : T0__ , bautofree : T1__ , ) -> super :: SystemServices :: HINSTANCE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoLockObjectExternal < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( punk : T0__ , flock : T1__ , flastunlockreleases : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoMarshalHresult < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( pstm : T0__ , hresult : :: windows :: ErrorCode , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoMarshalInterThreadInterfaceInStream < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( riid : * const :: windows :: Guid , punk : T1__ , ppstm : * mut :: std :: option :: Option < super :: StructuredStorage :: IStream > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoMarshalInterface < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T2__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( pstm : T0__ , riid : * const :: windows :: Guid , punk : T2__ , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoQueryAuthenticationServices < > ( pcauthsvc : * mut u32 , asauthsvc : * mut * mut SOLE_AUTHENTICATION_SERVICE , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoQueryClientBlanket < > ( pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut super :: SystemServices :: PWSTR , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pprivs : * mut * mut :: std :: ffi :: c_void , pcapabilities : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoQueryProxyBlanket < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( pproxy : T0__ , pwauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut super :: SystemServices :: PWSTR , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IActivationFilter ( :: windows :: IUnknown ) ; impl IActivationFilter { } 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 IActivationFilter { pub unsafe fn HandleActivation < > ( & self , dwactivationtype : u32 , rclsid : * const :: windows :: Guid , preplacementclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwactivationtype ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( preplacementclsid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; pub unsafe fn CoRegisterActivationFilter < 'a , T0__ : :: windows :: IntoParam < 'a , IActivationFilter > , > ( pactivationfilter : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IChannelHook ( :: windows :: IUnknown ) ; impl IChannelHook { } 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 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 :: ErrorCode , ) { ( :: 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 :: ErrorCode , 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 :: ErrorCode , ) { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) , 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 :: ErrorCode , 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 :: ErrorCode , ) , ) ; pub unsafe fn CoRegisterChannelHook < 'a , T1__ : :: windows :: IntoParam < 'a , IChannelHook > , > ( extensionuuid : * const :: windows :: Guid , pchannelhook : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterClassObject < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( rclsid : * const :: windows :: Guid , punk : T1__ , dwclscontext : u32 , flags : u32 , lpdwregister : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterDeviceCatalog < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( deviceinstanceid : T0__ , cookie : * mut CO_DEVICE_CATALOG_COOKIE , ) -> :: windows :: ErrorCode { panic ! ( "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 { } 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 IInitializeSpy { pub unsafe fn PreInitialize < > ( & self , dwcoinit : u32 , dwcurthreadaptrefs : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcoinit ) , :: std :: mem :: transmute ( dwcurthreadaptrefs ) , ) } pub unsafe fn PostInitialize < > ( & self , hrcoinit : :: windows :: ErrorCode , dwcoinit : u32 , dwnewthreadaptrefs : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrcoinit ) , :: std :: mem :: transmute ( dwcoinit ) , :: std :: mem :: transmute ( dwnewthreadaptrefs ) , ) } pub unsafe fn PreUninitialize < > ( & self , dwcurthreadaptrefs : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcurthreadaptrefs ) , ) } pub unsafe fn PostUninitialize < > ( & self , dwnewthreadaptrefs : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwnewthreadaptrefs ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrcoinit : :: windows :: ErrorCode , dwcoinit : u32 , dwnewthreadaptrefs : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcurthreadaptrefs : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwnewthreadaptrefs : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoRegisterInitializeSpy < 'a , T0__ : :: windows :: IntoParam < 'a , IInitializeSpy > , > ( pspy : T0__ , pulicookie : * mut u64 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMallocSpy ( :: windows :: IUnknown ) ; impl IMallocSpy { } 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 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 , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : T1__ , ) -> * 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 , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fspyed : T0__ , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PreRealloc < 'a , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prequest : * mut :: std :: ffi :: c_void , cbrequest : usize , ppnewrequest : * mut * mut :: std :: ffi :: c_void , fspyed : T3__ , ) -> 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 , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pactual : * mut :: std :: ffi :: c_void , fspyed : T1__ , ) -> * 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 , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : T1__ , ) -> * 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 , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , cbactual : usize , fspyed : T1__ , ) -> usize { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cbactual ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PreDidAlloc < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : T1__ , ) -> * 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 , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : T1__ , 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fspyed : super :: SystemServices :: 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 :: SystemServices :: BOOL , ) -> usize , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactual : * mut :: std :: ffi :: c_void , fspyed : super :: SystemServices :: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super :: SystemServices :: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cbactual : usize , fspyed : super :: SystemServices :: BOOL , ) -> usize , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super :: SystemServices :: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super :: SystemServices :: BOOL , factual : i32 , ) -> i32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; pub unsafe fn CoRegisterMallocSpy < 'a , T0__ : :: windows :: IntoParam < 'a , IMallocSpy > , > ( pmallocspy : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMessageFilter ( :: windows :: IUnknown ) ; impl IMessageFilter { } 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 IMessageFilter { pub unsafe fn HandleInComingCall < 'a , T1__ : :: windows :: IntoParam < 'a , super :: CoreAudio :: HTASK > , > ( & self , dwcalltype : u32 , htaskcaller : T1__ , 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 , T0__ : :: windows :: IntoParam < 'a , super :: CoreAudio :: HTASK > , > ( & self , htaskcallee : T0__ , 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 , T0__ : :: windows :: IntoParam < 'a , super :: CoreAudio :: HTASK > , > ( & self , htaskcallee : T0__ , 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: CoreAudio :: HTASK , dwtickcount : u32 , lpinterfaceinfo : * mut INTERFACEINFO_abi , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , htaskcallee : super :: CoreAudio :: HTASK , dwtickcount : u32 , dwrejecttype : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , htaskcallee : super :: CoreAudio :: HTASK , dwtickcount : u32 , dwpendingtype : u32 , ) -> u32 , ) ; pub unsafe fn CoRegisterMessageFilter < 'a , T0__ : :: windows :: IntoParam < 'a , IMessageFilter > , > ( lpmessagefilter : T0__ , lplpmessagefilter : * mut :: std :: option :: Option < IMessageFilter > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterPSClsid < > ( riid : * const :: windows :: Guid , rclsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISurrogate ( :: windows :: IUnknown ) ; impl ISurrogate { } 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 ISurrogate { pub unsafe fn LoadDllServer < > ( & self , clsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( clsid ) , ) } pub unsafe fn FreeSurrogate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoRegisterSurrogate < 'a , T0__ : :: windows :: IntoParam < 'a , ISurrogate > , > ( psurrogate : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoReleaseMarshalData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( pstm : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoReleaseServerProcess < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoResumeClassObjects < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevertToSelf < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeClassObject < > ( dwregister : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeDeviceCatalog < 'a , T0__ : :: windows :: IntoParam < 'a , CO_DEVICE_CATALOG_COOKIE > , > ( cookie : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeInitializeSpy < > ( ulicookie : u64 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeMallocSpy < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSetCancelObject < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMessageDispatcher ( :: windows :: IUnknown ) ; impl IMessageDispatcher { } 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 IMessageDispatcher { pub unsafe fn GetIids < > ( & self , iidcount : * mut u32 , iids : * mut * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iidcount ) , :: std :: mem :: transmute ( iids ) , ) } pub unsafe fn PumpMessages < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 ) ) ) } } impl :: std :: convert :: From < IMessageDispatcher > for super :: WinRT :: IInspectable { fn from ( value : IMessageDispatcher ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMessageDispatcher > for super :: WinRT :: IInspectable { fn from ( value : & IMessageDispatcher ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: WinRT :: IInspectable > for IMessageDispatcher { fn into_param ( self ) -> :: windows :: Param < 'a , super :: WinRT :: IInspectable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: WinRT :: IInspectable > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: WinRT :: IInspectable > for & 'a IMessageDispatcher { fn into_param ( self ) -> :: windows :: Param < 'a , super :: WinRT :: IInspectable > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: WinRT :: IInspectable > :: 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iidcount : * mut u32 , iids : * mut * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CoSetMessageDispatcher < 'a , T0__ : :: windows :: IntoParam < 'a , IMessageDispatcher > , > ( pmessagedispatcher : T0__ , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSetProxyBlanket < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pproxy : T0__ , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : T3__ , dwauthnlevel : u32 , dwimplevel : u32 , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSuspendClassObjects < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSwitchCallContext < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( pnewobject : T0__ , ppoldobject : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTaskMemAlloc < > ( cb : usize , ) -> * mut :: std :: ffi :: c_void { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTaskMemFree < > ( pv : * mut :: std :: ffi :: c_void , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTaskMemRealloc < > ( pv : * mut :: std :: ffi :: c_void , cb : usize , ) -> * mut :: std :: ffi :: c_void { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTestCancel < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTreatAsClass < > ( clsidold : * const :: windows :: Guid , clsidnew : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoUninitialize < > ( ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoUnmarshalHresult < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( pstm : T0__ , phresult : * mut :: windows :: ErrorCode , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoUnmarshalInterface < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( pstm : T0__ , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoWaitForMultipleHandles < > ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : * mut super :: SystemServices :: HANDLE , lpdwindex : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CoWaitForMultipleObjects < > ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : * const super :: SystemServices :: HANDLE , lpdwindex : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CompareSecurityIds < > ( pbsecurityid1 : * mut u8 , dwlen1 : u32 , pbsecurityid2 : * mut u8 , dwlen2 : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CompatFlagsFromClsid < > ( pclsid : * mut :: windows :: Guid , pdwcompatflags : * mut u32 , pdwmiscstatusflags : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyBindInfo < > ( pcbisrc : * const BINDINFO , pbidest : * mut BINDINFO , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyStgMedium < > ( pcstgmedsrc : * const STGMEDIUM , pstgmeddest : * mut STGMEDIUM , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAntiMoniker < > ( ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindStatusCallback ( :: windows :: IUnknown ) ; impl IBindStatusCallback { } 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 IBindStatusCallback { pub unsafe fn OnStartBinding < 'a , T1__ : :: windows :: IntoParam < 'a , IBinding > , > ( & self , dwreserved : u32 , pib : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , pib . into_param ( ) . abi ( ) , ) } pub unsafe fn GetPriority < > ( & self , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnpriority ) , ) } pub unsafe fn OnLowResource < > ( & self , reserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( reserved ) , ) } pub unsafe fn OnProgress < 'a , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : T3__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn OnStopBinding < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , hresult : :: windows :: ErrorCode , szerror : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hresult ) , szerror . into_param ( ) . abi ( ) , ) } pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) } pub unsafe fn OnDataAvailable < > ( & self , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OnObjectAvailable < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , riid : * const :: windows :: Guid , punk : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , punk . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , reserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hresult : :: windows :: ErrorCode , szerror : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumFORMATETC ( :: windows :: IUnknown ) ; impl IEnumFORMATETC { } 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 IEnumFORMATETC { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut FORMATETC , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumFORMATETC > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CreateAsyncBindCtx < 'a , T1__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , T2__ : :: windows :: IntoParam < 'a , IEnumFORMATETC > , > ( reserved : u32 , pbscb : T1__ , pefetc : T2__ , ppbc : * mut :: std :: option :: Option < IBindCtx > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAsyncBindCtxEx < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T2__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , T3__ : :: windows :: IntoParam < 'a , IEnumFORMATETC > , > ( pbc : T0__ , dwoptions : u32 , pbscb : T2__ , penum : T3__ , ppbc : * mut :: std :: option :: Option < IBindCtx > , reserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBindCtx < > ( reserved : u32 , ppbc : * mut :: std :: option :: Option < IBindCtx > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateClassMoniker < > ( rclsid : * const :: windows :: Guid , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataAdviseHolder ( :: windows :: IUnknown ) ; impl IDataAdviseHolder { } 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 IDataAdviseHolder { pub unsafe fn Advise < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T3__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , pdataobject : T0__ , pfetc : * mut FORMATETC , advf : u32 , padvise : T3__ , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , :: std :: mem :: transmute ( pdwconnection ) , ) } pub unsafe fn Unadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) } pub unsafe fn EnumAdvise < > ( & self , ppenumadvise : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumadvise ) , ) } pub unsafe fn SendOnDataChange < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( & self , pdataobject : T0__ , dwreserved : u32 , advf : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( advf ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , dwreserved : u32 , advf : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CreateDataAdviseHolder < > ( ppdaholder : * mut :: std :: option :: Option < IDataAdviseHolder > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDataCache < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punkouter : T0__ , rclsid : * const :: windows :: Guid , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszpathname : T0__ , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . tdSize ) ) . field ( "tdDriverNameOffset" , & format_args ! ( "{:?}" , self . tdDriverNameOffset ) ) . field ( "tdDeviceNameOffset" , & format_args ! ( "{:?}" , self . tdDeviceNameOffset ) ) . field ( "tdPortNameOffset" , & format_args ! ( "{:?}" , self . tdPortNameOffset ) ) . field ( "tdExtDevmodeOffset" , & format_args ! ( "{:?}" , self . tdExtDevmodeOffset ) ) . field ( "tdData" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cfFormat ) ) . field ( "ptd" , & format_args ! ( "{:?}" , self . ptd ) ) . field ( "dwAspect" , & format_args ! ( "{:?}" , self . dwAspect ) ) . field ( "lindex" , & format_args ! ( "{:?}" , self . lindex ) ) . field ( "tymed" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn CreateFormatEnumerator < > ( cfmtetc : u32 , rgfmtetc : * mut FORMATETC , ppenumfmtetc : * mut :: std :: option :: Option < IEnumFORMATETC > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateGenericComposite < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( pmkfirst : T0__ , pmkrest : T1__ , ppmkcomposite : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUriBuilder ( :: windows :: IUnknown ) ; impl IUriBuilder { } 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 IUriBuilder { pub unsafe fn CreateUriSimple < > ( & self , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwallowencodingpropertymask ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( ppiuri ) , ) } pub unsafe fn CreateUri < > ( & self , dwcreateflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcreateflags ) , :: std :: mem :: transmute ( dwallowencodingpropertymask ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( ppiuri ) , ) } pub unsafe fn CreateUriWithFlags < > ( & self , dwcreateflags : u32 , dwuribuilderflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( ppiuri ) , ) } pub unsafe fn GetIUri < > ( & self , ppiuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppiuri ) , ) } pub unsafe fn SetIUri < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( & self , piuri : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , piuri . into_param ( ) . abi ( ) , ) } pub unsafe fn GetFragment < > ( & self , pcchfragment : * mut u32 , ppwzfragment : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchfragment ) , :: std :: mem :: transmute ( ppwzfragment ) , ) } pub unsafe fn GetHost < > ( & self , pcchhost : * mut u32 , ppwzhost : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchhost ) , :: std :: mem :: transmute ( ppwzhost ) , ) } pub unsafe fn GetPassword < > ( & self , pcchpassword : * mut u32 , ppwzpassword : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchpassword ) , :: std :: mem :: transmute ( ppwzpassword ) , ) } pub unsafe fn GetPath < > ( & self , pcchpath : * mut u32 , ppwzpath : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchpath ) , :: std :: mem :: transmute ( ppwzpath ) , ) } pub unsafe fn GetPort < > ( & self , pfhasport : * mut super :: SystemServices :: BOOL , pdwport : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfhasport ) , :: std :: mem :: transmute ( pdwport ) , ) } pub unsafe fn GetQuery < > ( & self , pcchquery : * mut u32 , ppwzquery : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchquery ) , :: std :: mem :: transmute ( ppwzquery ) , ) } pub unsafe fn GetSchemeName < > ( & self , pcchschemename : * mut u32 , ppwzschemename : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchschemename ) , :: std :: mem :: transmute ( ppwzschemename ) , ) } pub unsafe fn GetUserName < > ( & self , pcchusername : * mut u32 , ppwzusername : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchusername ) , :: std :: mem :: transmute ( ppwzusername ) , ) } pub unsafe fn SetFragment < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn SetHost < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn SetPassword < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn SetPath < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn SetPort < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fhasport : T0__ , dwnewvalue : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , fhasport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnewvalue ) , ) } pub unsafe fn SetQuery < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn SetSchemeName < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn SetUserName < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwznewvalue : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) } pub unsafe fn RemoveProperties < > ( & self , dwpropertymask : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwpropertymask ) , ) } pub unsafe fn HasBeenModified < > ( & self , pfmodified : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfmodified ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcreateflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcreateflags : u32 , dwuribuilderflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piuri : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchfragment : * mut u32 , ppwzfragment : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchhost : * mut u32 , ppwzhost : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchpassword : * mut u32 , ppwzpassword : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchpath : * mut u32 , ppwzpath : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfhasport : * mut super :: SystemServices :: BOOL , pdwport : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchquery : * mut u32 , ppwzquery : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchschemename : * mut u32 , ppwzschemename : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchusername : * mut u32 , ppwzusername : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fhasport : super :: SystemServices :: BOOL , dwnewvalue : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwpropertymask : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfmodified : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CreateIUriBuilder < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , > ( piuri : T0__ , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: std :: option :: Option < IUriBuilder > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateItemMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszdelim : T0__ , lpszitem : T1__ , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateObjrefMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleAdviseHolder ( :: windows :: IUnknown ) ; impl IOleAdviseHolder { } 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 IOleAdviseHolder { pub unsafe fn Advise < 'a , T0__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , padvise : T0__ , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , padvise . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwconnection ) , ) } pub unsafe fn Unadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) } pub unsafe fn EnumAdvise < > ( & self , ppenumadvise : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumadvise ) , ) } pub unsafe fn SendOnRename < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn SendOnSave < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SendOnClose < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn CreateOleAdviseHolder < > ( ppoaholder : * mut :: std :: option :: Option < IOleAdviseHolder > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePointerMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateURLMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pmkctx : T0__ , szurl : T1__ , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateURLMonikerEx < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pmkctx : T0__ , szurl : T1__ , ppmk : * mut :: std :: option :: Option < IMoniker > , dwflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateURLMonikerEx2 < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IUri > , > ( pmkctx : T0__ , puri : T1__ , ppmk : * mut :: std :: option :: Option < IMoniker > , dwflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUri < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzuri : T0__ , dwflags : super :: SystemServices :: Uri_CREATE_FLAGS , dwreserved : usize , ppuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUriFromMultiByteString < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( pszansiinputuri : T0__ , dwencodingflags : u32 , dwcodepage : u32 , dwcreateflags : u32 , dwreserved : usize , ppuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUriWithFragment < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwzuri : T0__ , pwzfragment : T1__ , dwflags : u32 , dwreserved : usize , ppuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { panic ! ( "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 ) ; impl DATADIR { pub const DATADIR_GET : Self = Self ( 1i32 ) ; pub const DATADIR_SET : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for DATADIR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DATADIR { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . ulTotalSize ) ) . field ( "ulavrPacketSize" , & format_args ! ( "{:?}" , self . ulavrPacketSize ) ) . field ( "ulConnectSpeed" , & format_args ! ( "{:?}" , self . ulConnectSpeed ) ) . field ( "ulProcessorSpeed" , & format_args ! ( "{:?}" , 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 ; } 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 ) ; impl DCOM_CALL_STATE { pub const DCOM_NONE : Self = Self ( 0i32 ) ; pub const DCOM_CALL_COMPLETE : Self = Self ( 1i32 ) ; pub const DCOM_CALL_CANCELED : Self = Self ( 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 ; } 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 ) ; impl DISCARDCACHE { pub const DISCARDCACHE_SAVEIFDIRTY : Self = Self ( 0i32 ) ; pub const DISCARDCACHE_NOSAVE : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for DISCARDCACHE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISCARDCACHE { type Abi = 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 ) ; impl DOCMISC { pub const DOCMISC_CANCREATEMULTIPLEVIEWS : Self = Self ( 1i32 ) ; pub const DOCMISC_SUPPORTCOMPLEXRECTANGLES : Self = Self ( 2i32 ) ; pub const DOCMISC_CANTOPENEDIT : Self = Self ( 4i32 ) ; pub const DOCMISC_NOFILESUPPORT : Self = Self ( 8i32 ) ; } impl :: std :: convert :: From < i32 > for DOCMISC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DOCMISC { type Abi = 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 ) ; impl DVASPECT { pub const DVASPECT_CONTENT : Self = Self ( 1i32 ) ; pub const DVASPECT_THUMBNAIL : Self = Self ( 2i32 ) ; pub const DVASPECT_ICON : Self = Self ( 4i32 ) ; pub const DVASPECT_DOCPRINT : Self = Self ( 8i32 ) ; } impl :: std :: convert :: From < i32 > for DVASPECT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DVASPECT { type Abi = 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 ) ; impl DVASPECT2 { pub const DVASPECT_OPAQUE : Self = Self ( 16i32 ) ; pub const DVASPECT_TRANSPARENT : Self = Self ( 32i32 ) ; } impl :: std :: convert :: From < i32 > for DVASPECT2 { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DVASPECT2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "alData" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataObject ( :: windows :: IUnknown ) ; impl IDataObject { } 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 IDataObject { pub unsafe fn GetData < > ( & self , pformatetcin : * mut FORMATETC , pmedium : * mut STGMEDIUM , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetcin ) , :: std :: mem :: transmute ( pmedium ) , ) } pub unsafe fn GetDataHere < > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , ) } pub unsafe fn QueryGetData < > ( & self , pformatetc : * mut FORMATETC , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , ) } pub unsafe fn GetCanonicalFormatEtc < > ( & self , pformatectin : * mut FORMATETC , pformatetcout : * mut FORMATETC , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatectin ) , :: std :: mem :: transmute ( pformatetcout ) , ) } pub unsafe fn SetData < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , frelease : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , frelease . into_param ( ) . abi ( ) , ) } pub unsafe fn EnumFormatEtc < > ( & self , dwdirection : u32 , ppenumformatetc : * mut :: std :: option :: Option < IEnumFORMATETC > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdirection ) , :: std :: mem :: transmute ( ppenumformatetc ) , ) } pub unsafe fn DAdvise < 'a , T2__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , pformatetc : * mut FORMATETC , advf : u32 , padvsink : T2__ , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwconnection ) , ) } pub unsafe fn DUnadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) } pub unsafe fn EnumDAdvise < > ( & self , ppenumadvise : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumadvise ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatectin : * mut FORMATETC , pformatetcout : * mut FORMATETC , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , frelease : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdirection : u32 , ppenumformatetc : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , advf : u32 , padvsink : :: windows :: RawPtr , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDropSource ( :: windows :: IUnknown ) ; impl IDropSource { } 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 IDropSource { pub unsafe fn QueryContinueDrag < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fescapepressed : T0__ , grfkeystate : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , fescapepressed . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfkeystate ) , ) } pub unsafe fn GiveFeedback < > ( & self , dweffect : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dweffect ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , grfkeystate : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dweffect : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn DoDragDrop < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T1__ : :: windows :: IntoParam < 'a , IDropSource > , > ( pdataobj : T0__ , pdropsource : T1__ , dwokeffects : u32 , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 EOC_ChangeType ( pub i32 ) ; impl EOC_ChangeType { pub const EOC_NewObject : Self = Self ( 0i32 ) ; pub const EOC_ModifiedObject : Self = Self ( 1i32 ) ; pub const EOC_DeletedObject : Self = Self ( 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 ; } # [ 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 ) ; impl EOLE_AUTHENTICATION_CAPABILITIES { pub const EOAC_NONE : Self = Self ( 0i32 ) ; pub const EOAC_MUTUAL_AUTH : Self = Self ( 1i32 ) ; pub const EOAC_STATIC_CLOAKING : Self = Self ( 32i32 ) ; pub const EOAC_DYNAMIC_CLOAKING : Self = Self ( 64i32 ) ; pub const EOAC_ANY_AUTHORITY : Self = Self ( 128i32 ) ; pub const EOAC_MAKE_FULLSIC : Self = Self ( 256i32 ) ; pub const EOAC_DEFAULT : Self = Self ( 2048i32 ) ; pub const EOAC_SECURE_REFS : Self = Self ( 2i32 ) ; pub const EOAC_ACCESS_CONTROL : Self = Self ( 4i32 ) ; pub const EOAC_APPID : Self = Self ( 8i32 ) ; pub const EOAC_DYNAMIC : Self = Self ( 16i32 ) ; pub const EOAC_REQUIRE_FULLSIC : Self = Self ( 512i32 ) ; pub const EOAC_AUTO_IMPERSONATE : Self = Self ( 1024i32 ) ; pub const EOAC_DISABLE_AAA : Self = Self ( 4096i32 ) ; pub const EOAC_NO_CUSTOM_MARSHAL : Self = Self ( 8192i32 ) ; pub const EOAC_RESERVED1 : Self = Self ( 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 ; } # [ 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 ) ; impl EXTCONN { pub const EXTCONN_STRONG : Self = Self ( 1i32 ) ; pub const EXTCONN_WEAK : Self = Self ( 2i32 ) ; pub const EXTCONN_CALLABLE : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for EXTCONN { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EXTCONN { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ExtentInfo { pub cb : u32 , pub dwExtentMode : u32 , pub sizelProposed : super :: DisplayDevices :: 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" , & format_args ! ( "{:?}" , self . cb ) ) . field ( "dwExtentMode" , & format_args ! ( "{:?}" , self . dwExtentMode ) ) . field ( "sizelProposed" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl ExtentMode { pub const DVEXTENT_CONTENT : Self = Self ( 0i32 ) ; pub const DVEXTENT_INTEGRAL : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for ExtentMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ExtentMode { type Abi = 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 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . fFlags ) ) . field ( "clSize" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "abData" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . fFlags ) ) . field ( "clSize" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "asData" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] pub struct FLAG_STGMEDIUM { pub ContextFlags : i32 , pub fPassOwnership : i32 , pub Stgmed : STGMEDIUM } impl 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 ; } 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 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FONTDESC { pub cbSizeofstruct : u32 , pub lpstrName : super :: SystemServices :: PWSTR , pub cySize : super :: SystemServices :: CY , pub sWeight : i16 , pub sCharset : i16 , pub fItalic : super :: SystemServices :: BOOL , pub fUnderline : super :: SystemServices :: BOOL , pub fStrikethrough : super :: SystemServices :: BOOL } impl FONTDESC { } unsafe impl :: windows :: Abi for FONTDESC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . dwContext ) ) . field ( "Platform" , & format_args ! ( "{:?}" , self . Platform ) ) . field ( "Locale" , & format_args ! ( "{:?}" , self . Locale ) ) . field ( "dwVersionHi" , & format_args ! ( "{:?}" , self . dwVersionHi ) ) . field ( "dwVersionLo" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn FaultInIEFeature < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( hwnd : T0__ , pclassspec : * mut super :: SystemServices :: uCLSSPEC , pquery : * mut QUERYCONTEXT , dwflags : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindMediaType < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( rgsztypes : T0__ , rgcftypes : * mut u16 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindMediaTypeClass < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( pbc : T0__ , sztype : T1__ , pclsid : * mut :: windows :: Guid , reserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindMimeFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pbc : T0__ , pwzurl : T1__ , pbuffer : * mut :: std :: ffi :: c_void , cbsize : u32 , pwzmimeproposed : T4__ , dwmimeflags : u32 , ppwzmimeout : * mut super :: SystemServices :: PWSTR , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub const GC_WCH_SIBLING : i32 = 1i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct GDI_OBJECT { pub ObjectType : u32 , pub u : GDI_OBJECT_0 } impl GDI_OBJECT { } unsafe impl :: windows :: Abi for GDI_OBJECT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 { } unsafe impl :: windows :: Abi for GDI_OBJECT_0 { type Abi = 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 ) ; impl GLOBALOPT_EH_VALUES { pub const COMGLB_EXCEPTION_HANDLE : Self = Self ( 0i32 ) ; pub const COMGLB_EXCEPTION_DONOT_HANDLE_FATAL : Self = Self ( 1i32 ) ; pub const COMGLB_EXCEPTION_DONOT_HANDLE : Self = Self ( 1i32 ) ; pub const COMGLB_EXCEPTION_DONOT_HANDLE_ANY : Self = Self ( 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 ; } # [ 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 ) ; impl GLOBALOPT_PROPERTIES { pub const COMGLB_EXCEPTION_HANDLING : Self = Self ( 1i32 ) ; pub const COMGLB_APPID : Self = Self ( 2i32 ) ; pub const COMGLB_RPC_THREADPOOL_SETTING : Self = Self ( 3i32 ) ; pub const COMGLB_RO_SETTINGS : Self = Self ( 4i32 ) ; pub const COMGLB_UNMARSHALING_POLICY : Self = Self ( 5i32 ) ; pub const COMGLB_PROPERTIES_RESERVED1 : Self = Self ( 6i32 ) ; pub const COMGLB_PROPERTIES_RESERVED2 : Self = Self ( 7i32 ) ; pub const COMGLB_PROPERTIES_RESERVED3 : Self = Self ( 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 ; } # [ 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 ) ; impl GLOBALOPT_RO_FLAGS { pub const COMGLB_STA_MODALLOOP_REMOVE_TOUCH_MESSAGES : Self = Self ( 1i32 ) ; pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REMOVE_INPUT_MESSAGES : Self = Self ( 2i32 ) ; pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_DONOT_REMOVE_INPUT_MESSAGES : Self = Self ( 4i32 ) ; pub const COMGLB_FAST_RUNDOWN : Self = Self ( 8i32 ) ; pub const COMGLB_RESERVED1 : Self = Self ( 16i32 ) ; pub const COMGLB_RESERVED2 : Self = Self ( 32i32 ) ; pub const COMGLB_RESERVED3 : Self = Self ( 64i32 ) ; pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REORDER_POINTER_MESSAGES : Self = Self ( 128i32 ) ; pub const COMGLB_RESERVED4 : Self = Self ( 256i32 ) ; pub const COMGLB_RESERVED5 : Self = Self ( 512i32 ) ; pub const COMGLB_RESERVED6 : Self = Self ( 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 ; } # [ 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 ) ; impl GLOBALOPT_RPCTP_VALUES { pub const COMGLB_RPC_THREADPOOL_SETTING_DEFAULT_POOL : Self = Self ( 0i32 ) ; pub const COMGLB_RPC_THREADPOOL_SETTING_PRIVATE_POOL : Self = Self ( 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 ; } # [ 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 ) ; impl GLOBALOPT_UNMARSHALING_POLICY_VALUES { pub const COMGLB_UNMARSHALING_POLICY_NORMAL : Self = Self ( 0i32 ) ; pub const COMGLB_UNMARSHALING_POLICY_STRONG : Self = Self ( 1i32 ) ; pub const COMGLB_UNMARSHALING_POLICY_HYBRID : Self = Self ( 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 ; } # [ 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 ) ; impl GUIDKIND { pub const GUIDKIND_DEFAULT_SOURCE_DISP_IID : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for GUIDKIND { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GUIDKIND { type Abi = 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 , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szfilename : T0__ , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassFileOrMime < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pbc : T0__ , szfilename : T1__ , pbuffer : * mut :: std :: ffi :: c_void , cbsize : u32 , szmime : T4__ , dwreserved : u32 , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassURL < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szurl : T0__ , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetComponentIDFromCLSSPEC < > ( pclassspec : * mut super :: SystemServices :: uCLSSPEC , ppszcomponentid : * mut super :: SystemServices :: PSTR , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRunningObjectTable ( :: windows :: IUnknown ) ; impl IRunningObjectTable { } 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 IRunningObjectTable { pub unsafe fn Register < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T2__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , grfflags : u32 , punkobject : T1__ , pmkobjectname : T2__ , pdwregister : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , punkobject . into_param ( ) . abi ( ) , pmkobjectname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwregister ) , ) } pub unsafe fn Revoke < > ( & self , dwregister : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwregister ) , ) } pub unsafe fn IsRunning < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmkobjectname : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmkobjectname . into_param ( ) . abi ( ) , ) } pub unsafe fn GetObject < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmkobjectname : T0__ , ppunkobject : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pmkobjectname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppunkobject ) , ) } pub unsafe fn NoteChangeTime < > ( & self , dwregister : u32 , pfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwregister ) , :: std :: mem :: transmute ( pfiletime ) , ) } pub unsafe fn GetTimeOfLastChange < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmkobjectname : T0__ , pfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pmkobjectname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfiletime ) , ) } pub unsafe fn EnumRunning < > ( & self , ppenummoniker : * mut :: std :: option :: Option < IEnumMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenummoniker ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwregister : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , ppunkobject : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwregister : u32 , pfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , pfiletime : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenummoniker : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn GetRunningObjectTable < > ( reserved : u32 , pprot : * mut :: std :: option :: Option < IRunningObjectTable > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSoftwareUpdateInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szdistunit : T0__ , psdi : * mut super :: Shell :: SOFTDISTINFO , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: MenusAndResources :: HACCEL , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super :: MenusAndResources :: HACCEL , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HACCEL , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HACCEL , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: MenusAndResources :: HACCEL , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: MenusAndResources :: HACCEL , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HACCEL , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HACCEL , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HBITMAP , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HBITMAP , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HBITMAP , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HBITMAP , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HBITMAP , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HBITMAP , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HBITMAP , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HBITMAP , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HDC , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HDC , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HDC , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HDC , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HDC , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HDC , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HDC , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HDC , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserFree < > ( param0 : * mut u32 , param1 : * mut isize , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserFree64 < > ( param0 : * mut u32 , param1 : * mut isize , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut isize , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut isize , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: MenusAndResources :: HICON , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super :: MenusAndResources :: HICON , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HICON , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HICON , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: MenusAndResources :: HICON , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: MenusAndResources :: HICON , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HICON , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HICON , ) -> * mut u8 { panic ! ( "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 ) ; impl HITRESULT { pub const HITRESULT_OUTSIDE : Self = Self ( 0i32 ) ; pub const HITRESULT_TRANSPARENT : Self = Self ( 1i32 ) ; pub const HITRESULT_CLOSE : Self = Self ( 2i32 ) ; pub const HITRESULT_HIT : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for HITRESULT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HITRESULT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HIT_LOGGING_INFO { pub dwStructSize : u32 , pub lpszLoggedUrlName : super :: SystemServices :: PSTR , pub StartTime : super :: WindowsProgramming :: SYSTEMTIME , pub EndTime : super :: WindowsProgramming :: SYSTEMTIME , pub lpszExtendedInfo : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . dwStructSize ) ) . field ( "lpszLoggedUrlName" , & format_args ! ( "{:?}" , self . lpszLoggedUrlName ) ) . field ( "StartTime" , & format_args ! ( "{:?}" , self . StartTime ) ) . field ( "EndTime" , & format_args ! ( "{:?}" , self . EndTime ) ) . field ( "lpszExtendedInfo" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn HMENU_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: MenusAndResources :: HMENU , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super :: MenusAndResources :: HMENU , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HMENU , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HMENU , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: MenusAndResources :: HMENU , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: MenusAndResources :: HMENU , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HMENU , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: MenusAndResources :: HMENU , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HPALETTE , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HPALETTE , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HPALETTE , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HPALETTE , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HPALETTE , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HPALETTE , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HPALETTE , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HPALETTE , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HRESULT ( pub i32 ) ; impl HRESULT { } impl :: std :: default :: Default for HRESULT { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HRESULT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRESULT" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HRESULT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HRESULT { } unsafe impl :: windows :: Abi for HRESULT { type Abi = Self ; } pub unsafe fn HRGN_UserFree < > ( param0 : * mut u32 , param1 : * mut super :: Gdi :: HRGN , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HRGN , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super :: Gdi :: HRGN , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super :: Gdi :: HRGN , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "pData" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn HlinkGoBack < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkGoForward < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punk : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkNavigateMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( punk : T0__ , pmktarget : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkNavigateString < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( punk : T0__ , sztarget : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkSimpleNavigateToMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T4__ : :: windows :: IntoParam < 'a , IBindCtx > , T5__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( pmktarget : T0__ , szlocation : T1__ , sztargetframename : T2__ , punk : T3__ , pbc : T4__ , param5 : T5__ , grfhlnf : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkSimpleNavigateToString < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T4__ : :: windows :: IntoParam < 'a , IBindCtx > , T5__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( sztarget : T0__ , szlocation : T1__ , sztargetframename : T2__ , punk : T3__ , pbc : T4__ , param5 : T5__ , grfhlnf : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 { } 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 IAccessibilityDockingService { pub unsafe fn UndockWindow < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hwnd : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAccessibilityDockingServiceCallback ( :: windows :: IUnknown ) ; impl IAccessibilityDockingServiceCallback { } 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 IAccessibilityDockingServiceCallback { } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAddrExclusionControl ( :: windows :: IUnknown ) ; impl IAddrExclusionControl { } 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 IAddrExclusionControl { pub unsafe fn GetCurrentAddrExclusionList < > ( & self , riid : * const :: windows :: Guid , ppenumerator : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppenumerator ) , ) } pub unsafe fn UpdateAddrExclusionList < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , penumerator : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , penumerator . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , penumerator : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAddrTrackingControl ( :: windows :: IUnknown ) ; impl IAddrTrackingControl { } 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 IAddrTrackingControl { pub unsafe fn EnableCOMDynamicAddrTracking < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DisableCOMDynamicAddrTracking < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAdviseSink ( :: windows :: IUnknown ) ; impl IAdviseSink { } 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 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 { } 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 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 { } 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 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 , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , ) { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 IAgileObject { } 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 :: ErrorCode , 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 { } 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 IAsyncManager { pub unsafe fn CompleteCall < > ( & self , result : :: windows :: ErrorCode , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( result ) , ) } pub unsafe fn GetCallContext < > ( & self , riid : * const :: windows :: Guid , pinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pinterface ) , ) } pub unsafe fn GetState < > ( & self , pulstateflags : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pulstateflags ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , pinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pulstateflags : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcChannelBuffer ( :: windows :: IUnknown ) ; impl IRpcChannelBuffer { } 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 IRpcChannelBuffer { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcChannelBuffer2 ( :: windows :: IUnknown ) ; impl IRpcChannelBuffer2 { } 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 IRpcChannelBuffer2 { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetProtocolVersion < > ( & self , pdwversion : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwversion ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwversion : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncRpcChannelBuffer ( :: windows :: IUnknown ) ; impl IAsyncRpcChannelBuffer { } 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 IAsyncRpcChannelBuffer { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetProtocolVersion < > ( & self , pdwversion : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwversion ) , ) } pub unsafe fn Send < 'a , T1__ : :: windows :: IntoParam < 'a , ISynchronize > , > ( & self , pmsg : * mut RPCOLEMESSAGE , psync : T1__ , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , psync . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pulstatus ) , ) } pub unsafe fn Receive < > ( & self , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pulstatus ) , ) } pub unsafe fn GetDestCtxEx < > ( & self , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwversion : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , psync : :: windows :: RawPtr , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAuthenticate ( :: windows :: IUnknown ) ; impl IAuthenticate { } 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 IAuthenticate { pub unsafe fn Authenticate < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , pszusername : * mut super :: SystemServices :: PWSTR , pszpassword : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , :: std :: mem :: transmute ( pszusername ) , :: std :: mem :: transmute ( pszpassword ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , pszusername : * mut super :: SystemServices :: PWSTR , pszpassword : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAuthenticateEx ( :: windows :: IUnknown ) ; impl IAuthenticateEx { } 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 IAuthenticateEx { pub unsafe fn Authenticate < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , pszusername : * mut super :: SystemServices :: PWSTR , pszpassword : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , :: std :: mem :: transmute ( pszusername ) , :: std :: mem :: transmute ( pszpassword ) , ) } pub unsafe fn AuthenticateEx < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , pszusername : * mut super :: SystemServices :: PWSTR , pszpassword : * mut super :: SystemServices :: PWSTR , pauthinfo : * mut AUTHENTICATEINFO , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , pszusername : * mut super :: SystemServices :: PWSTR , pszpassword : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phwnd : * mut super :: WindowsAndMessaging :: HWND , pszusername : * mut super :: SystemServices :: PWSTR , pszpassword : * mut super :: SystemServices :: PWSTR , pauthinfo : * mut AUTHENTICATEINFO , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindCallbackRedirect ( :: windows :: IUnknown ) ; impl IBindCallbackRedirect { } 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 IBindCallbackRedirect { pub unsafe fn Redirect < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , lpcurl : T0__ , vbcancel : * mut i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , lpcurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( vbcancel ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , vbcancel : * mut i16 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindHost ( :: windows :: IUnknown ) ; impl IBindHost { } 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 IBindHost { pub unsafe fn CreateMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , szname : T0__ , pbc : T1__ , ppmk : * mut :: std :: option :: Option < IMoniker > , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn MonikerBindToStorage < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , T2__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( & self , pmk : T0__ , pbc : T1__ , pbsc : T2__ , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , pbsc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , ) } pub unsafe fn MonikerBindToObject < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , T2__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( & self , pmk : T0__ , pbc : T1__ , pbsc : T2__ , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , pbsc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pbc : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindHttpSecurity ( :: windows :: IUnknown ) ; impl IBindHttpSecurity { } 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 IBindHttpSecurity { pub unsafe fn GetIgnoreCertMask < > ( & self , pdwignorecertmask : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwignorecertmask ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindProtocol ( :: windows :: IUnknown ) ; impl IBindProtocol { } 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 IBindProtocol { pub unsafe fn CreateBinding < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , szurl : T0__ , pbc : T1__ , ppb : * mut :: std :: option :: Option < IBinding > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppb ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pbc : :: windows :: RawPtr , ppb : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindStatusCallbackEx ( :: windows :: IUnknown ) ; impl IBindStatusCallbackEx { } 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 IBindStatusCallbackEx { pub unsafe fn OnStartBinding < 'a , T1__ : :: windows :: IntoParam < 'a , IBinding > , > ( & self , dwreserved : u32 , pib : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , pib . into_param ( ) . abi ( ) , ) } pub unsafe fn GetPriority < > ( & self , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnpriority ) , ) } pub unsafe fn OnLowResource < > ( & self , reserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( reserved ) , ) } pub unsafe fn OnProgress < 'a , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : T3__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn OnStopBinding < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , hresult : :: windows :: ErrorCode , szerror : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hresult ) , szerror . into_param ( ) . abi ( ) , ) } pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) } pub unsafe fn OnDataAvailable < > ( & self , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OnObjectAvailable < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , riid : * const :: windows :: Guid , punk : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , punk . into_param ( ) . abi ( ) , ) } pub unsafe fn GetBindInfoEx < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , reserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hresult : :: windows :: ErrorCode , szerror : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBinding ( :: windows :: IUnknown ) ; impl IBinding { } 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 IBinding { pub unsafe fn Abort < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetPriority < > ( & self , npriority : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( npriority ) , ) } pub unsafe fn GetPriority < > ( & self , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnpriority ) , ) } pub unsafe fn GetBindResult < > ( & self , pclsidprotocol : * mut :: windows :: Guid , pdwresult : * mut u32 , pszresult : * mut super :: SystemServices :: PWSTR , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , npriority : i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsidprotocol : * mut :: windows :: Guid , pdwresult : * mut u32 , pszresult : * mut super :: SystemServices :: PWSTR , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBlockingLock ( :: windows :: IUnknown ) ; impl IBlockingLock { } 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 IBlockingLock { pub unsafe fn Lock < > ( & self , dwtimeout : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtimeout ) , ) } pub unsafe fn Unlock < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFactory ( :: windows :: IUnknown ) ; impl ICallFactory { } 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 ICallFactory { pub unsafe fn CreateCall < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , riid : * const :: windows :: Guid , pctrlunk : T1__ , riid2 : * const :: windows :: Guid , ppv : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , pctrlunk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid2 ) , :: std :: mem :: transmute ( ppv ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFrame ( :: windows :: IUnknown ) ; impl ICallFrame { } 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 ICallFrame { pub unsafe fn GetInfo < > ( & self , pinfo : * mut CALLFRAMEINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pinfo ) , ) } pub unsafe fn GetIIDAndMethod < > ( & self , piid : * mut :: windows :: Guid , pimethod : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( piid ) , :: std :: mem :: transmute ( pimethod ) , ) } pub unsafe fn GetNames < > ( & self , pwszinterface : * mut super :: SystemServices :: PWSTR , pwszmethod : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pwszinterface ) , :: std :: mem :: transmute ( pwszmethod ) , ) } 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 :: ErrorCode , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hr ) , ) } pub unsafe fn GetReturnValue < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetParamInfo < > ( & self , iparam : u32 , pinfo : * mut CALLFRAMEPARAMINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iparam ) , :: std :: mem :: transmute ( pinfo ) , ) } pub unsafe fn Copy < 'a , T1__ : :: windows :: IntoParam < 'a , ICallFrameWalker > , > ( & self , copycontrol : CALLFRAME_COPY , pwalker : T1__ , ppframe : * mut :: std :: option :: Option < ICallFrame > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( copycontrol ) , pwalker . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppframe ) , ) } pub unsafe fn Free < 'a , T0__ : :: windows :: IntoParam < 'a , ICallFrame > , T1__ : :: windows :: IntoParam < 'a , ICallFrameWalker > , T2__ : :: windows :: IntoParam < 'a , ICallFrameWalker > , T4__ : :: windows :: IntoParam < 'a , ICallFrameWalker > , > ( & self , pframeargsdest : T0__ , pwalkerdestfree : T1__ , pwalkercopy : T2__ , freeflags : u32 , pwalkerfree : T4__ , nullflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn FreeParam < 'a , T2__ : :: windows :: IntoParam < 'a , ICallFrameWalker > , > ( & self , iparam : u32 , freeflags : u32 , pwalkerfree : T2__ , nullflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn WalkFrame < 'a , T1__ : :: windows :: IntoParam < 'a , ICallFrameWalker > , > ( & self , walkwhat : u32 , pwalker : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( walkwhat ) , pwalker . into_param ( ) . abi ( ) , ) } pub unsafe fn GetMarshalSizeMax < > ( & self , pmshlcontext : * mut CALLFRAME_MARSHALCONTEXT , mshlflags : MSHLFLAGS , pcbbufferneeded : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmshlcontext ) , :: std :: mem :: transmute ( mshlflags ) , :: std :: mem :: transmute ( pcbbufferneeded ) , ) } 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Unmarshal < > ( & self , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , pcbunmarshalled : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( pcbunmarshalled ) , ) } pub unsafe fn ReleaseMarshalData < > ( & self , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , ibfirstrelease : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Invoke < > ( & self , pvreceiver : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pvreceiver ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , pimethod : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszinterface : * mut super :: SystemServices :: PWSTR , pwszmethod : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iparam : u32 , pinfo : * mut CALLFRAMEPARAMINFO , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , copycontrol : CALLFRAME_COPY , pwalker : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iparam : u32 , freeflags : u32 , pwalkerfree : :: windows :: RawPtr , nullflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , walkwhat : u32 , pwalker : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmshlcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , mshlflags : MSHLFLAGS , pcbbufferneeded : * mut u32 , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pvreceiver : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFrameEvents ( :: windows :: IUnknown ) ; impl ICallFrameEvents { } 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 ICallFrameEvents { pub unsafe fn OnCall < 'a , T0__ : :: windows :: IntoParam < 'a , ICallFrame > , > ( & self , pframe : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pframe . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFrameWalker ( :: windows :: IUnknown ) ; impl ICallFrameWalker { } 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 ICallFrameWalker { pub unsafe fn OnWalkInterface < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , iid : * const :: windows :: Guid , ppvinterface : * mut * mut :: std :: ffi :: c_void , fin : T2__ , fout : T3__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , fout : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallIndirect ( :: windows :: IUnknown ) ; impl ICallIndirect { } 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 ICallIndirect { pub unsafe fn CallIndirect < > ( & self , phrreturn : * mut :: windows :: ErrorCode , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetMethodInfo < > ( & self , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pinfo ) , :: std :: mem :: transmute ( pwszmethod ) , ) } pub unsafe fn GetStackSize < > ( & self , imethod : u32 , cbargs : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( cbargs ) , ) } pub unsafe fn GetIID < > ( & self , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super :: SystemServices :: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , cbargs : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super :: SystemServices :: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallInterceptor ( :: windows :: IUnknown ) ; impl ICallInterceptor { } 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 ICallInterceptor { pub unsafe fn CallIndirect < > ( & self , phrreturn : * mut :: windows :: ErrorCode , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetMethodInfo < > ( & self , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pinfo ) , :: std :: mem :: transmute ( pwszmethod ) , ) } pub unsafe fn GetStackSize < > ( & self , imethod : u32 , cbargs : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( cbargs ) , ) } pub unsafe fn GetIID < > ( & self , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super :: SystemServices :: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn RegisterSink < 'a , T0__ : :: windows :: IntoParam < 'a , ICallFrameEvents > , > ( & self , psink : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , psink . into_param ( ) . abi ( ) , ) } pub unsafe fn GetRegisteredSink < > ( & self , ppsink : * mut :: std :: option :: Option < ICallFrameEvents > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppsink ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , cbargs : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super :: SystemServices :: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psink : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsink : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallUnmarshal ( :: windows :: IUnknown ) ; impl ICallUnmarshal { } 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 ICallUnmarshal { pub unsafe fn Unmarshal < 'a , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , imethod : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , fforcebuffercopy : T3__ , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , pcbunmarshalled : * mut u32 , ppframe : * mut :: std :: option :: Option < ICallFrame > , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ReleaseMarshalData < > ( & self , imethod : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , ibfirstrelease : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , pcbunmarshalled : * mut u32 , ppframe : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICancelMethodCalls ( :: windows :: IUnknown ) ; impl ICancelMethodCalls { } 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 ICancelMethodCalls { pub unsafe fn Cancel < > ( & self , ulseconds : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulseconds ) , ) } pub unsafe fn TestCancel < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICatInformation ( :: windows :: IUnknown ) ; impl ICatInformation { } 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 ICatInformation { pub unsafe fn EnumCategories < > ( & self , lcid : u32 , ppenumcategoryinfo : * mut :: std :: option :: Option < IEnumCATEGORYINFO > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( ppenumcategoryinfo ) , ) } pub unsafe fn GetCategoryDesc < > ( & self , rcatid : * mut :: windows :: Guid , lcid : u32 , pszdesc : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rcatid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pszdesc ) , ) } pub unsafe fn EnumClassesOfCategories < > ( & self , cimplemented : u32 , rgcatidimpl : * const :: windows :: Guid , crequired : u32 , rgcatidreq : * const :: windows :: Guid , ppenumclsid : * mut :: std :: option :: Option < IEnumGUID > , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( ppenumclsid ) , ) } pub unsafe fn IsClassOfCategories < > ( & self , rclsid : * const :: windows :: Guid , cimplemented : u32 , rgcatidimpl : * const :: windows :: Guid , crequired : u32 , rgcatidreq : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn EnumImplCategoriesOfClass < > ( & self , rclsid : * const :: windows :: Guid , ppenumcatid : * mut :: std :: option :: Option < IEnumGUID > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ppenumcatid ) , ) } pub unsafe fn EnumReqCategoriesOfClass < > ( & self , rclsid : * const :: windows :: Guid , ppenumcatid : * mut :: std :: option :: Option < IEnumGUID > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ppenumcatid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rcatid : * mut :: windows :: Guid , lcid : u32 , pszdesc : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ppenumcatid : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ppenumcatid : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICatRegister ( :: windows :: IUnknown ) ; impl ICatRegister { } 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 ICatRegister { pub unsafe fn RegisterCategories < > ( & self , ccategories : u32 , rgcategoryinfo : * mut CATEGORYINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcategoryinfo ) , ) } pub unsafe fn UnRegisterCategories < > ( & self , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) } pub unsafe fn RegisterClassImplCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) } pub unsafe fn UnRegisterClassImplCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) } pub unsafe fn RegisterClassReqCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) } pub unsafe fn UnRegisterClassReqCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICatalogFileInfo ( :: windows :: IUnknown ) ; impl ICatalogFileInfo { } 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 ICatalogFileInfo { pub unsafe fn GetCatalogFile < > ( & self , ppszcatalogfile : * mut super :: SystemServices :: PSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppszcatalogfile ) , ) } pub unsafe fn GetJavaTrust < > ( & self , ppjavatrust : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppjavatrust ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppjavatrust : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClassActivator ( :: windows :: IUnknown ) ; impl IClassActivator { } 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 IClassActivator { pub unsafe fn GetClassObject < > ( & self , rclsid : * const :: windows :: Guid , dwclasscontext : u32 , locale : u32 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( dwclasscontext ) , :: std :: mem :: transmute ( locale ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppv ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClassFactory ( :: windows :: IUnknown ) ; impl IClassFactory { } 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 IClassFactory { pub unsafe fn CreateInstance < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punkouter : T0__ , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobject ) , ) } pub unsafe fn LockServer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , flock : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClassFactory2 ( :: windows :: IUnknown ) ; impl IClassFactory2 { } 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 IClassFactory2 { pub unsafe fn CreateInstance < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punkouter : T0__ , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobject ) , ) } pub unsafe fn LockServer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , flock : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) } pub unsafe fn GetLicInfo < > ( & self , plicinfo : * mut LICINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plicinfo ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plicinfo : * mut LICINFO , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClientSecurity ( :: windows :: IUnknown ) ; impl IClientSecurity { } 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 IClientSecurity { pub unsafe fn QueryBlanket < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pproxy : T0__ , pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut * mut u16 , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetBlanket < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pproxy : T0__ , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : T3__ , dwauthnlevel : u32 , dwimplevel : u32 , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CopyProxy < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pproxy : T0__ , ppcopy : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pproxy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppcopy ) , ) } } 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 :: ErrorCode , pub unsafe 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 u32 , pimplevel : * mut u32 , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pproxy : :: windows :: RawPtr , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : super :: SystemServices :: PWSTR , dwauthnlevel : u32 , dwimplevel : u32 , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pproxy : :: windows :: RawPtr , ppcopy : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWindowForBindingUI ( :: windows :: IUnknown ) ; impl IWindowForBindingUI { } 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 IWindowForBindingUI { pub unsafe fn GetWindow < > ( & self , rguidreason : * const :: windows :: Guid , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidreason ) , :: std :: mem :: transmute ( phwnd ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICodeInstall ( :: windows :: IUnknown ) ; impl ICodeInstall { } 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 ICodeInstall { pub unsafe fn GetWindow < > ( & self , rguidreason : * const :: windows :: Guid , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidreason ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn OnCodeInstallProblem < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , ulstatuscode : u32 , szdestination : T1__ , szsource : T2__ , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstatuscode : u32 , szdestination : super :: SystemServices :: PWSTR , szsource : super :: SystemServices :: PWSTR , dwreserved : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IComThreadingInfo ( :: windows :: IUnknown ) ; impl IComThreadingInfo { } 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 IComThreadingInfo { pub unsafe fn GetCurrentApartmentType < > ( & self , papttype : * mut APTTYPE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( papttype ) , ) } pub unsafe fn GetCurrentThreadType < > ( & self , pthreadtype : * mut THDTYPE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pthreadtype ) , ) } pub unsafe fn GetCurrentLogicalThreadId < > ( & self , pguidlogicalthreadid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguidlogicalthreadid ) , ) } pub unsafe fn SetCurrentLogicalThreadId < > ( & self , rguid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pthreadtype : * mut THDTYPE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguidlogicalthreadid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rguid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IConnectionPoint ( :: windows :: IUnknown ) ; impl IConnectionPoint { } 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 IConnectionPoint { pub unsafe fn GetConnectionInterface < > ( & self , piid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( piid ) , ) } pub unsafe fn GetConnectionPointContainer < > ( & self , ppcpc : * mut :: std :: option :: Option < IConnectionPointContainer > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppcpc ) , ) } pub unsafe fn Advise < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punksink : T0__ , pdwcookie : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , punksink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwcookie ) , ) } pub unsafe fn Unadvise < > ( & self , dwcookie : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcookie ) , ) } pub unsafe fn EnumConnections < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumConnections > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppcpc : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punksink : :: windows :: RawPtr , pdwcookie : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcookie : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IConnectionPointContainer ( :: windows :: IUnknown ) ; impl IConnectionPointContainer { } 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 IConnectionPointContainer { pub unsafe fn EnumConnectionPoints < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumConnectionPoints > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } pub unsafe fn FindConnectionPoint < > ( & self , riid : * const :: windows :: Guid , ppcp : * mut :: std :: option :: Option < IConnectionPoint > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppcp ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppcp : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ 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 IContinue ( :: windows :: IUnknown ) ; impl IContinue { } 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 IContinue { pub unsafe fn FContinue < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IContinueCallback ( :: windows :: IUnknown ) ; impl IContinueCallback { } 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 IContinueCallback { pub unsafe fn FContinue < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn FContinuePrinting < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , ncntprinted : i32 , ncurpage : i32 , pwszprintstatus : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ncntprinted ) , :: std :: mem :: transmute ( ncurpage ) , pwszprintstatus . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ncntprinted : i32 , ncurpage : i32 , pwszprintstatus : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; 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 IDataFilter ( :: windows :: IUnknown ) ; impl IDataFilter { } 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 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 :: ErrorCode { ( :: 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 ) , ) } 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetEncodingLevel < > ( & self , dwenclevel : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenclevel ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenclevel : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDropSourceNotify ( :: windows :: IUnknown ) ; impl IDropSourceNotify { } 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 IDropSourceNotify { pub unsafe fn DragEnterTarget < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hwndtarget : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , hwndtarget . into_param ( ) . abi ( ) , ) } pub unsafe fn DragLeaveTarget < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDropTarget ( :: windows :: IUnknown ) ; impl IDropTarget { } 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 IDropTarget { pub unsafe fn DragEnter < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T2__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINTL > , > ( & self , pdataobj : T0__ , grfkeystate : u32 , pt : T2__ , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn DragOver < 'a , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINTL > , > ( & self , grfkeystate : u32 , pt : T1__ , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfkeystate ) , pt . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdweffect ) , ) } pub unsafe fn DragLeave < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Drop < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T2__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINTL > , > ( & self , pdataobj : T0__ , grfkeystate : u32 , pt : T2__ , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: DisplayDevices :: POINTL , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfkeystate : u32 , pt : super :: DisplayDevices :: POINTL , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobj : :: windows :: RawPtr , grfkeystate : u32 , pt : super :: DisplayDevices :: POINTL , pdweffect : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDummyHICONIncluder ( :: windows :: IUnknown ) ; impl IDummyHICONIncluder { } 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 IDummyHICONIncluder { pub unsafe fn Dummy < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , h1 : T0__ , h2 : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , h1 . into_param ( ) . abi ( ) , h2 . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: MenusAndResources :: HICON , h2 : super :: Gdi :: HDC , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn IEGetUserPrivateNamespaceName < > ( ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IEInstallScope < > ( pdwscope : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 ) ; impl IEObjectType { pub const IE_EPM_OBJECT_EVENT : Self = Self ( 0i32 ) ; pub const IE_EPM_OBJECT_MUTEX : Self = Self ( 1i32 ) ; pub const IE_EPM_OBJECT_SEMAPHORE : Self = Self ( 2i32 ) ; pub const IE_EPM_OBJECT_SHARED_MEMORY : Self = Self ( 3i32 ) ; pub const IE_EPM_OBJECT_WAITABLE_TIMER : Self = Self ( 4i32 ) ; pub const IE_EPM_OBJECT_FILE : Self = Self ( 5i32 ) ; pub const IE_EPM_OBJECT_NAMED_PIPE : Self = Self ( 6i32 ) ; pub const IE_EPM_OBJECT_REGISTRY : Self = Self ( 7i32 ) ; } impl :: std :: convert :: From < i32 > for IEObjectType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IEObjectType { type Abi = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEncodingFilterFactory ( :: windows :: IUnknown ) ; impl IEncodingFilterFactory { } 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 IEncodingFilterFactory { pub unsafe fn FindBestFilter < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , DATAINFO > , > ( & self , pwzcodein : T0__ , pwzcodeout : T1__ , info : T2__ , ppdf : * mut :: std :: option :: Option < IDataFilter > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwzcodein . into_param ( ) . abi ( ) , pwzcodeout . into_param ( ) . abi ( ) , info . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppdf ) , ) } pub unsafe fn GetDefaultFilter < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzcodein : T0__ , pwzcodeout : T1__ , ppdf : * mut :: std :: option :: Option < IDataFilter > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwzcodein . into_param ( ) . abi ( ) , pwzcodeout . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppdf ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pwzcodeout : super :: SystemServices :: PWSTR , info : DATAINFO , ppdf : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzcodein : super :: SystemServices :: PWSTR , pwzcodeout : super :: SystemServices :: PWSTR , ppdf : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnterpriseDropTarget ( :: windows :: IUnknown ) ; impl IEnterpriseDropTarget { } 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 IEnterpriseDropTarget { pub unsafe fn SetDropSourceEnterpriseId < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , identity : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , identity . into_param ( ) . abi ( ) , ) } pub unsafe fn IsEvaluatingEdpPolicy < > ( & self , value : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( value ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumCATEGORYINFO ( :: windows :: IUnknown ) ; impl IEnumCATEGORYINFO { } 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 IEnumCATEGORYINFO { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut CATEGORYINFO , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumCATEGORYINFO > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumConnectionPoints ( :: windows :: IUnknown ) ; impl IEnumConnectionPoints { } 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 IEnumConnectionPoints { pub unsafe fn Next < > ( & self , cconnections : u32 , ppcp : * mut :: std :: option :: Option < IConnectionPoint > , pcfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , :: std :: mem :: transmute ( ppcp ) , :: std :: mem :: transmute ( pcfetched ) , ) } pub unsafe fn Skip < > ( & self , cconnections : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumConnectionPoints > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cconnections : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumConnections ( :: windows :: IUnknown ) ; impl IEnumConnections { } 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 IEnumConnections { pub unsafe fn Next < > ( & self , cconnections : u32 , rgcd : * mut CONNECTDATA , pcfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , :: std :: mem :: transmute ( rgcd ) , :: std :: mem :: transmute ( pcfetched ) , ) } pub unsafe fn Skip < > ( & self , cconnections : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumConnections > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cconnections : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ 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 IEnumGUID ( :: windows :: IUnknown ) ; impl IEnumGUID { } 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 IEnumGUID { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: windows :: Guid , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumGUID > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumMoniker ( :: windows :: IUnknown ) ; impl IEnumMoniker { } 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 IEnumMoniker { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: std :: option :: Option < IMoniker > , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumOLEVERB ( :: windows :: IUnknown ) ; impl IEnumOLEVERB { } 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 IEnumOLEVERB { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut OLEVERB , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOLEVERB > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumOleDocumentViews ( :: windows :: IUnknown ) ; impl IEnumOleDocumentViews { } 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 IEnumOleDocumentViews { pub unsafe fn Next < > ( & self , cviews : u32 , rgpview : * mut :: std :: option :: Option < IOleDocumentView > , pcfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cviews ) , :: std :: mem :: transmute ( rgpview ) , :: std :: mem :: transmute ( pcfetched ) , ) } pub unsafe fn Skip < > ( & self , cviews : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cviews ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOleDocumentViews > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cviews : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumOleUndoUnits ( :: windows :: IUnknown ) ; impl IEnumOleUndoUnits { } 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 IEnumOleUndoUnits { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: std :: option :: Option < IOleUndoUnit > , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOleUndoUnits > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumSTATDATA ( :: windows :: IUnknown ) ; impl IEnumSTATDATA { } 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 IEnumSTATDATA { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut STATDATA , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumString ( :: windows :: IUnknown ) ; impl IEnumString { } 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 IEnumString { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut super :: SystemServices :: PWSTR , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumString > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumUnknown ( :: windows :: IUnknown ) ; impl IEnumUnknown { } 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 IEnumUnknown { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: std :: option :: Option < :: windows :: IUnknown > , pceltfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Clone < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEventProperty ( :: windows :: IUnknown ) ; impl IEventProperty { } 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 IEventProperty { pub unsafe fn GetTypeInfoCount < > ( & self , pctinfo : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pctinfo ) , ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , pptinfo : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: Automation :: IDispatch { fn from ( value : IEventProperty ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEventProperty > for super :: Automation :: IDispatch { fn from ( value : & IEventProperty ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for IEventProperty { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for & 'a IEventProperty { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEventPublisher ( :: windows :: IUnknown ) ; impl IEventPublisher { } 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 IEventPublisher { pub unsafe fn GetTypeInfoCount < > ( & self , pctinfo : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pctinfo ) , ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , pptinfo : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: Automation :: IDispatch { fn from ( value : IEventPublisher ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEventPublisher > for super :: Automation :: IDispatch { fn from ( value : & IEventPublisher ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for IEventPublisher { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for & 'a IEventPublisher { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IExternalConnection ( :: windows :: IUnknown ) ; impl IExternalConnection { } 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 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 , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , extconn : u32 , reserved : u32 , flastreleasecloses : T2__ , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( extconn ) , :: std :: mem :: transmute ( reserved ) , flastreleasecloses . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: 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 IFastRundown { } 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 :: ErrorCode , 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 { } 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 IFont { pub unsafe fn get_Size < > ( & self , psize : * mut super :: SystemServices :: CY , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( psize ) , ) } pub unsafe fn put_Size < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: CY > , > ( & self , size : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , size . into_param ( ) . abi ( ) , ) } pub unsafe fn get_Bold < > ( & self , pbold : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbold ) , ) } pub unsafe fn put_Bold < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , bold : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , bold . into_param ( ) . abi ( ) , ) } pub unsafe fn get_Italic < > ( & self , pitalic : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pitalic ) , ) } pub unsafe fn put_Italic < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , italic : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , italic . into_param ( ) . abi ( ) , ) } pub unsafe fn get_Underline < > ( & self , punderline : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( punderline ) , ) } pub unsafe fn put_Underline < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , underline : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , underline . into_param ( ) . abi ( ) , ) } pub unsafe fn get_Strikethrough < > ( & self , pstrikethrough : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pstrikethrough ) , ) } pub unsafe fn put_Strikethrough < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , strikethrough : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , strikethrough . into_param ( ) . abi ( ) , ) } pub unsafe fn get_Weight < > ( & self , pweight : * mut i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pweight ) , ) } pub unsafe fn put_Weight < > ( & self , weight : i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( weight ) , ) } pub unsafe fn get_Charset < > ( & self , pcharset : * mut i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcharset ) , ) } pub unsafe fn put_Charset < > ( & self , charset : i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( charset ) , ) } pub unsafe fn Clone < > ( & self , ppfont : * mut :: std :: option :: Option < IFont > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppfont ) , ) } pub unsafe fn IsEqual < 'a , T0__ : :: windows :: IntoParam < 'a , IFont > , > ( & self , pfontother : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , pfontother . into_param ( ) . abi ( ) , ) } pub unsafe fn SetRatio < > ( & self , cylogical : i32 , cyhimetric : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cylogical ) , :: std :: mem :: transmute ( cyhimetric ) , ) } pub unsafe fn SetHdc < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , hdc : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .26 ) ( :: windows :: Abi :: abi ( self ) , hdc . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psize : * mut super :: SystemServices :: CY , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , size : super :: SystemServices :: CY , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbold : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bold : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pitalic : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , italic : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punderline : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , underline : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstrikethrough : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , strikethrough : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pweight : * mut i16 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , weight : i16 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcharset : * mut i16 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , charset : i16 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppfont : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfontother : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cylogical : i32 , cyhimetric : i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super :: Gdi :: HDC , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IFontDisp ( :: windows :: IUnknown ) ; impl IFontDisp { } 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 IFontDisp { pub unsafe fn GetTypeInfoCount < > ( & self , pctinfo : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pctinfo ) , ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , pptinfo : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: Automation :: IDispatch { fn from ( value : IFontDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFontDisp > for super :: Automation :: IDispatch { fn from ( value : & IFontDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for IFontDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for & 'a IFontDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IFontEventsDisp ( :: windows :: IUnknown ) ; impl IFontEventsDisp { } 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 IFontEventsDisp { pub unsafe fn GetTypeInfoCount < > ( & self , pctinfo : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pctinfo ) , ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , pptinfo : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: Automation :: IDispatch { fn from ( value : IFontEventsDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFontEventsDisp > for super :: Automation :: IDispatch { fn from ( value : & IFontEventsDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for IFontEventsDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for & 'a IFontEventsDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IForegroundTransfer ( :: windows :: IUnknown ) ; impl IForegroundTransfer { } 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 IForegroundTransfer { pub unsafe fn AllowForegroundTransfer < > ( & self , lpvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpvreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ 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 ) ; impl IGNOREMIME { pub const IGNOREMIME_PROMPT : Self = Self ( 1i32 ) ; pub const IGNOREMIME_TEXT : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for IGNOREMIME { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IGNOREMIME { type Abi = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetBindHandle ( :: windows :: IUnknown ) ; impl IGetBindHandle { } 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 IGetBindHandle { pub unsafe fn GetBindHandle < > ( & self , enumrequestedhandle : BINDHANDLETYPES , prethandle : * mut super :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( enumrequestedhandle ) , :: std :: mem :: transmute ( prethandle ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetOleObject ( :: windows :: IUnknown ) ; impl IGetOleObject { } 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 IGetOleObject { pub unsafe fn GetOleObject < > ( & self , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetVBAObject ( :: windows :: IUnknown ) ; impl IGetVBAObject { } 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 IGetVBAObject { pub unsafe fn GetObject < > ( & self , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGlobalInterfaceTable ( :: windows :: IUnknown ) ; impl IGlobalInterfaceTable { } 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 IGlobalInterfaceTable { pub unsafe fn RegisterInterfaceInGlobal < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punk : T0__ , riid : * const :: windows :: Guid , pdwcookie : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pdwcookie ) , ) } pub unsafe fn RevokeInterfaceFromGlobal < > ( & self , dwcookie : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcookie ) , ) } pub unsafe fn GetInterfaceFromGlobal < > ( & self , dwcookie : u32 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcookie ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppv ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcookie : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcookie : u32 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGlobalOptions ( :: windows :: IUnknown ) ; impl IGlobalOptions { } 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 IGlobalOptions { pub unsafe fn Set < > ( & self , dwproperty : GLOBALOPT_PROPERTIES , dwvalue : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwproperty ) , :: std :: mem :: transmute ( dwvalue ) , ) } pub unsafe fn Query < > ( & self , dwproperty : GLOBALOPT_PROPERTIES , pdwvalue : * mut usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwproperty ) , :: std :: mem :: transmute ( pdwvalue ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwproperty : GLOBALOPT_PROPERTIES , pdwvalue : * mut usize , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpNegotiate ( :: windows :: IUnknown ) ; impl IHttpNegotiate { } 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 IHttpNegotiate { pub unsafe fn BeginningTransaction < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , szurl : T0__ , szheaders : T1__ , dwreserved : u32 , pszadditionalheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , szheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pszadditionalheaders ) , ) } pub unsafe fn OnResponse < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwresponsecode : u32 , szresponseheaders : T1__ , szrequestheaders : T2__ , pszadditionalrequestheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwresponsecode ) , szresponseheaders . into_param ( ) . abi ( ) , szrequestheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pszadditionalrequestheaders ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , szheaders : super :: SystemServices :: PWSTR , dwreserved : u32 , pszadditionalheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwresponsecode : u32 , szresponseheaders : super :: SystemServices :: PWSTR , szrequestheaders : super :: SystemServices :: PWSTR , pszadditionalrequestheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpNegotiate2 ( :: windows :: IUnknown ) ; impl IHttpNegotiate2 { } 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 IHttpNegotiate2 { pub unsafe fn BeginningTransaction < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , szurl : T0__ , szheaders : T1__ , dwreserved : u32 , pszadditionalheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , szheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pszadditionalheaders ) , ) } pub unsafe fn OnResponse < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwresponsecode : u32 , szresponseheaders : T1__ , szrequestheaders : T2__ , pszadditionalrequestheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwresponsecode ) , szresponseheaders . into_param ( ) . abi ( ) , szrequestheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pszadditionalrequestheaders ) , ) } pub unsafe fn GetRootSecurityId < > ( & self , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , szheaders : super :: SystemServices :: PWSTR , dwreserved : u32 , pszadditionalheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwresponsecode : u32 , szresponseheaders : super :: SystemServices :: PWSTR , szrequestheaders : super :: SystemServices :: PWSTR , pszadditionalrequestheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpNegotiate3 ( :: windows :: IUnknown ) ; impl IHttpNegotiate3 { } 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 IHttpNegotiate3 { pub unsafe fn BeginningTransaction < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , szurl : T0__ , szheaders : T1__ , dwreserved : u32 , pszadditionalheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , szheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pszadditionalheaders ) , ) } pub unsafe fn OnResponse < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwresponsecode : u32 , szresponseheaders : T1__ , szrequestheaders : T2__ , pszadditionalrequestheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwresponsecode ) , szresponseheaders . into_param ( ) . abi ( ) , szrequestheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pszadditionalrequestheaders ) , ) } pub unsafe fn GetRootSecurityId < > ( & self , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn GetSerializedClientCertContext < > ( & self , ppbcert : * mut * mut u8 , pcbcert : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppbcert ) , :: std :: mem :: transmute ( pcbcert ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , szheaders : super :: SystemServices :: PWSTR , dwreserved : u32 , pszadditionalheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwresponsecode : u32 , szresponseheaders : super :: SystemServices :: PWSTR , szrequestheaders : super :: SystemServices :: PWSTR , pszadditionalrequestheaders : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppbcert : * mut * mut u8 , pcbcert : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpSecurity ( :: windows :: IUnknown ) ; impl IHttpSecurity { } 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 IHttpSecurity { pub unsafe fn GetWindow < > ( & self , rguidreason : * const :: windows :: Guid , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidreason ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn OnSecurityProblem < > ( & self , dwproblem : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwproblem ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwproblem : u32 , ) -> :: windows :: ErrorCode , ) ; pub unsafe fn IIDFromString < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , lpiid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInterfaceRelated ( :: windows :: IUnknown ) ; impl IInterfaceRelated { } 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 IInterfaceRelated { pub unsafe fn SetIID < > ( & self , iid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iid ) , ) } pub unsafe fn GetIID < > ( & self , piid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( piid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternalUnknown ( :: windows :: IUnknown ) ; impl IInternalUnknown { } 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 IInternalUnknown { pub unsafe fn QueryInternalInterface < > ( & self , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppv ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ 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 IInternet { } 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 :: ErrorCode , 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 { } 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 IInternetBindInfo { pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) } pub unsafe fn GetBindString < > ( & self , ulstringtype : u32 , ppwzstr : * mut super :: SystemServices :: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstringtype : u32 , ppwzstr : * mut super :: SystemServices :: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetBindInfoEx ( :: windows :: IUnknown ) ; impl IInternetBindInfoEx { } 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 IInternetBindInfoEx { pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) } pub unsafe fn GetBindString < > ( & self , ulstringtype : u32 , ppwzstr : * mut super :: SystemServices :: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetBindInfoEx < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstringtype : u32 , ppwzstr : * mut super :: SystemServices :: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetHostSecurityManager ( :: windows :: IUnknown ) ; impl IInternetHostSecurityManager { } 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 IInternetHostSecurityManager { pub unsafe fn GetSecurityId < > ( & self , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn ProcessUrlAction < > ( & self , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn QueryCustomPolicy < > ( & self , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetPriority ( :: windows :: IUnknown ) ; impl IInternetPriority { } 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 IInternetPriority { pub unsafe fn SetPriority < > ( & self , npriority : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( npriority ) , ) } pub unsafe fn GetPriority < > ( & self , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnpriority ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolRoot ( :: windows :: IUnknown ) ; impl IInternetProtocolRoot { } 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 IInternetProtocolRoot { pub unsafe fn Start < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IInternetProtocolSink > , T2__ : :: windows :: IntoParam < 'a , IInternetBindInfo > , > ( & self , szurl : T0__ , poiprotsink : T1__ , poibindinfo : T2__ , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn Continue < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) } pub unsafe fn Abort < > ( & self , hrreason : :: windows :: ErrorCode , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrreason ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn Terminate < > ( & self , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrreason : :: windows :: ErrorCode , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocol ( :: windows :: IUnknown ) ; impl IInternetProtocol { } 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 IInternetProtocol { pub unsafe fn Start < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IInternetProtocolSink > , T2__ : :: windows :: IntoParam < 'a , IInternetBindInfo > , > ( & self , szurl : T0__ , poiprotsink : T1__ , poibindinfo : T2__ , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn Continue < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) } pub unsafe fn Abort < > ( & self , hrreason : :: windows :: ErrorCode , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrreason ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn Terminate < > ( & self , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) } pub unsafe fn Seek < > ( & self , dlibmove : i64 , dworigin : u32 , plibnewposition : * mut u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dlibmove ) , :: std :: mem :: transmute ( dworigin ) , :: std :: mem :: transmute ( plibnewposition ) , ) } pub unsafe fn LockRequest < > ( & self , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn UnlockRequest < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrreason : :: windows :: ErrorCode , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dlibmove : i64 , dworigin : u32 , plibnewposition : * mut u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolEx ( :: windows :: IUnknown ) ; impl IInternetProtocolEx { } 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 IInternetProtocolEx { pub unsafe fn Start < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IInternetProtocolSink > , T2__ : :: windows :: IntoParam < 'a , IInternetBindInfo > , > ( & self , szurl : T0__ , poiprotsink : T1__ , poibindinfo : T2__ , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn Continue < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) } pub unsafe fn Abort < > ( & self , hrreason : :: windows :: ErrorCode , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrreason ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn Terminate < > ( & self , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) } pub unsafe fn Seek < > ( & self , dlibmove : i64 , dworigin : u32 , plibnewposition : * mut u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dlibmove ) , :: std :: mem :: transmute ( dworigin ) , :: std :: mem :: transmute ( plibnewposition ) , ) } pub unsafe fn LockRequest < > ( & self , dwoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) } pub unsafe fn UnlockRequest < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn StartEx < 'a , T0__ : :: windows :: IntoParam < 'a , IUri > , T1__ : :: windows :: IntoParam < 'a , IInternetProtocolSink > , T2__ : :: windows :: IntoParam < 'a , IInternetBindInfo > , > ( & self , puri : T0__ , poiprotsink : T1__ , poibindinfo : T2__ , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrreason : :: windows :: ErrorCode , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dlibmove : i64 , dworigin : u32 , plibnewposition : * mut u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : u64 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolInfo ( :: windows :: IUnknown ) ; impl IInternetProtocolInfo { } 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 IInternetProtocolInfo { pub unsafe fn ParseUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzurl : T0__ , parseaction : PARSEACTION , dwparseflags : u32 , pwzresult : super :: SystemServices :: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CombineUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzbaseurl : T0__ , pwzrelativeurl : T1__ , dwcombineflags : u32 , pwzresult : T3__ , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CompareUrl < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzurl1 : T0__ , pwzurl2 : T1__ , dwcompareflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwzurl1 . into_param ( ) . abi ( ) , pwzurl2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcompareflags ) , ) } pub unsafe fn QueryInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzurl : T0__ , oueryoption : QUERYOPTION , dwqueryflags : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuf : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , parseaction : PARSEACTION , dwparseflags : u32 , pwzresult : super :: SystemServices :: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzbaseurl : super :: SystemServices :: PWSTR , pwzrelativeurl : super :: SystemServices :: PWSTR , dwcombineflags : u32 , pwzresult : super :: SystemServices :: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzurl1 : super :: SystemServices :: PWSTR , pwzurl2 : super :: SystemServices :: PWSTR , dwcompareflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzurl : super :: SystemServices :: PWSTR , oueryoption : QUERYOPTION , dwqueryflags : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuf : * mut u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolSink ( :: windows :: IUnknown ) ; impl IInternetProtocolSink { } 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 IInternetProtocolSink { pub unsafe fn Switch < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) } pub unsafe fn ReportProgress < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , ulstatuscode : u32 , szstatustext : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulstatuscode ) , szstatustext . into_param ( ) . abi ( ) , ) } pub unsafe fn ReportData < > ( & self , grfbscf : u32 , ulprogress : u32 , ulprogressmax : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbscf ) , :: std :: mem :: transmute ( ulprogress ) , :: std :: mem :: transmute ( ulprogressmax ) , ) } pub unsafe fn ReportResult < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , hrresult : :: windows :: ErrorCode , dwerror : u32 , szresult : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrresult ) , :: std :: mem :: transmute ( dwerror ) , szresult . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstatuscode : u32 , szstatustext : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbscf : u32 , ulprogress : u32 , ulprogressmax : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrresult : :: windows :: ErrorCode , dwerror : u32 , szresult : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolSinkStackable ( :: windows :: IUnknown ) ; impl IInternetProtocolSinkStackable { } 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 IInternetProtocolSinkStackable { pub unsafe fn SwitchSink < 'a , T0__ : :: windows :: IntoParam < 'a , IInternetProtocolSink > , > ( & self , poiprotsink : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , poiprotsink . into_param ( ) . abi ( ) , ) } pub unsafe fn CommitSwitch < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn RollbackSwitch < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityMgrSite ( :: windows :: IUnknown ) ; impl IInternetSecurityMgrSite { } 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 IInternetSecurityMgrSite { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn EnableModeless < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fenable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetThreadSwitch ( :: windows :: IUnknown ) ; impl IInternetThreadSwitch { } 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 IInternetThreadSwitch { pub unsafe fn Prepare < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Continue < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetZoneManagerEx ( :: windows :: IUnknown ) ; impl IInternetZoneManagerEx { } 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 IInternetZoneManagerEx { pub unsafe fn GetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) } pub unsafe fn SetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) } pub unsafe fn GetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn PromptAction < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwaction : u32 , hwndparent : T1__ , pwszurl : T2__ , pwsztext : T3__ , dwpromptflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn LogAction < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwaction : u32 , pwszurl : T1__ , pwsztext : T2__ , dwlogflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CreateZoneEnumerator < > ( & self , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwenum ) , :: std :: mem :: transmute ( pdwcount ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneAt < > ( & self , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , :: std :: mem :: transmute ( dwindex ) , :: std :: mem :: transmute ( pdwzone ) , ) } pub unsafe fn DestroyZoneEnumerator < > ( & self , dwenum : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , ) } pub unsafe fn CopyTemplatePoliciesToZone < > ( & self , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtemplate ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn GetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , hwndparent : super :: WindowsAndMessaging :: HWND , pwszurl : super :: SystemServices :: PWSTR , pwsztext : super :: SystemServices :: PWSTR , dwpromptflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , pwszurl : super :: SystemServices :: PWSTR , pwsztext : super :: SystemServices :: PWSTR , dwlogflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetZoneManagerEx2 ( :: windows :: IUnknown ) ; impl IInternetZoneManagerEx2 { } 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 IInternetZoneManagerEx2 { pub unsafe fn GetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) } pub unsafe fn SetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) } pub unsafe fn GetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn PromptAction < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwaction : u32 , hwndparent : T1__ , pwszurl : T2__ , pwsztext : T3__ , dwpromptflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn LogAction < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , dwaction : u32 , pwszurl : T1__ , pwsztext : T2__ , dwlogflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CreateZoneEnumerator < > ( & self , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwenum ) , :: std :: mem :: transmute ( pdwcount ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneAt < > ( & self , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , :: std :: mem :: transmute ( dwindex ) , :: std :: mem :: transmute ( pdwzone ) , ) } pub unsafe fn DestroyZoneEnumerator < > ( & self , dwenum : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , ) } pub unsafe fn CopyTemplatePoliciesToZone < > ( & self , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtemplate ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn GetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetZoneAttributesEx < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetZoneSecurityState < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwzoneindex : u32 , frespectpolicy : T1__ , pdwstate : * mut u32 , pfpolicyencountered : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn GetIESecurityState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , frespectpolicy : T0__ , pdwstate : * mut u32 , pfpolicyencountered : * mut super :: SystemServices :: BOOL , fnocache : T3__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn FixUnsecureSettings < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , hwndparent : super :: WindowsAndMessaging :: HWND , pwszurl : super :: SystemServices :: PWSTR , pwsztext : super :: SystemServices :: PWSTR , dwpromptflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , pwszurl : super :: SystemServices :: PWSTR , pwsztext : super :: SystemServices :: PWSTR , dwlogflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzoneindex : u32 , frespectpolicy : super :: SystemServices :: BOOL , pdwstate : * mut u32 , pfpolicyencountered : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , frespectpolicy : super :: SystemServices :: BOOL , pdwstate : * mut u32 , pfpolicyencountered : * mut super :: SystemServices :: BOOL , fnocache : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMarshal2 ( :: windows :: IUnknown ) ; impl IMarshal2 { } 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 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 :: ErrorCode { ( :: 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 ) , ) } 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn MarshalInterface < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn UnmarshalInterface < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppv ) , ) } pub unsafe fn ReleaseMarshalData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn DisconnectObject < > ( & self , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , 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 :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMarshalingStream ( :: windows :: IUnknown ) ; impl IMarshalingStream { } 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 IMarshalingStream { pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) } pub unsafe fn Write < > ( & self , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbwritten ) , ) } pub unsafe fn SetSize < > ( & self , libnewsize : u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( libnewsize ) , ) } pub unsafe fn CopyTo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Commit < > ( & self , grfcommitflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfcommitflags ) , ) } pub unsafe fn Revert < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn LockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) } pub unsafe fn UnlockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) } pub unsafe fn Clone < > ( & self , ppstm : * mut :: std :: option :: Option < super :: StructuredStorage :: IStream > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppstm ) , ) } pub unsafe fn GetMarshalingContextAttribute < > ( & self , attribute : CO_MARSHALING_CONTEXT_ATTRIBUTES , pattributevalue : * mut usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( attribute ) , :: std :: mem :: transmute ( pattributevalue ) , ) } } 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 :: StructuredStorage :: IStream { fn from ( value : IMarshalingStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshalingStream > for super :: StructuredStorage :: IStream { fn from ( value : & IMarshalingStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > for IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: StructuredStorage :: IStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: StructuredStorage :: IStream > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > for & 'a IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: StructuredStorage :: IStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: StructuredStorage :: IStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IMarshalingStream > for super :: StructuredStorage :: ISequentialStream { fn from ( value : IMarshalingStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshalingStream > for super :: StructuredStorage :: ISequentialStream { fn from ( value : & IMarshalingStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: StructuredStorage :: ISequentialStream > for IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: StructuredStorage :: ISequentialStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: StructuredStorage :: ISequentialStream > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: StructuredStorage :: ISequentialStream > for & 'a IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super :: StructuredStorage :: ISequentialStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , libnewsize : u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfcommitflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppstm : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , attribute : CO_MARSHALING_CONTEXT_ATTRIBUTES , pattributevalue : * mut usize , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMonikerProp ( :: windows :: IUnknown ) ; impl IMonikerProp { } 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 IMonikerProp { pub unsafe fn PutProperty < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , mkp : MONIKERPROPERTY , val : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( mkp ) , val . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMultiQI ( :: windows :: IUnknown ) ; impl IMultiQI { } 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 IMultiQI { pub unsafe fn QueryMultipleInterfaces < > ( & self , cmqis : u32 , pmqis : * mut MULTI_QI , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cmqis ) , :: std :: mem :: transmute ( pmqis ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; pub const INET_E_BLOCKED_ENHANCEDPROTECTEDMODE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695930i32 as _ ) ; pub const INET_E_BLOCKED_PLUGGABLE_PROTOCOL : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695931i32 as _ ) ; pub const INET_E_BLOCKED_REDIRECT_XSECURITYID : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697189i32 as _ ) ; pub const INET_E_CANNOT_LOCK_REQUEST : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697194i32 as _ ) ; pub const INET_E_CANNOT_REPLACE_SFP_FILE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146696448i32 as _ ) ; pub const INET_E_CODE_DOWNLOAD_DECLINED : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146696960i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_ARM : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695932i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_BITNESS : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695929i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695936i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_IMMERSIVE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695934i32 as _ ) ; pub const INET_E_CODE_INSTALL_SUPPRESSED : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146696192i32 as _ ) ; pub const INET_E_DOMINJECTIONVALIDATION : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697188i32 as _ ) ; pub const INET_E_DOWNLOAD_BLOCKED_BY_CSP : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695928i32 as _ ) ; pub const INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695935i32 as _ ) ; pub const INET_E_ERROR_FIRST : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697214i32 as _ ) ; pub const INET_E_FORBIDFRAMING : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146695933i32 as _ ) ; pub const INET_E_HSTS_CERTIFICATE_ERROR : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697186i32 as _ ) ; pub const INET_E_QUERYOPTION_UNKNOWN : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697197i32 as _ ) ; pub const INET_E_REDIRECTING : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697196i32 as _ ) ; pub const INET_E_RESERVED_1 : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697190i32 as _ ) ; pub const INET_E_RESERVED_2 : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697185i32 as _ ) ; pub const INET_E_RESERVED_3 : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697184i32 as _ ) ; pub const INET_E_RESERVED_4 : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697183i32 as _ ) ; pub const INET_E_RESERVED_5 : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697182i32 as _ ) ; pub const INET_E_RESULT_DISPATCHED : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146696704i32 as _ ) ; pub const INET_E_TERMINATED_BIND : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697192i32 as _ ) ; pub const INET_E_USE_DEFAULT_PROTOCOLHANDLER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697199i32 as _ ) ; pub const INET_E_USE_DEFAULT_SETTING : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697198i32 as _ ) ; pub const INET_E_USE_EXTEND_BINDING : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2146697193i32 as _ ) ; pub const INET_E_VTAB_SWITCH_FORCE_ENGINE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -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 ) ; impl INET_ZONE_MANAGER_CONSTANTS { pub const MAX_ZONE_PATH : Self = Self ( 260i32 ) ; pub const MAX_ZONE_DESCRIPTION : Self = Self ( 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 ; } pub const INSTALL_SCOPE_INVALID : u32 = 0u32 ; pub const INSTALL_SCOPE_MACHINE : u32 = 1u32 ; pub const INSTALL_SCOPE_USER : u32 = 2u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . pUnk ) ) . field ( "iid" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "wMethod" , & format_args ! ( "{:?}" , 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 ; } # [ 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 INoMarshal { } 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 :: ErrorCode , 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 { } 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 IObjectWithSite { pub unsafe fn SetSite < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punksite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punksite . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSite < > ( & self , riid : * const :: windows :: Guid , ppvsite : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvsite ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvsite : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleCache ( :: windows :: IUnknown ) ; impl IOleCache { } 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 IOleCache { pub unsafe fn Cache < > ( & self , pformatetc : * mut FORMATETC , advf : u32 , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( advf ) , :: std :: mem :: transmute ( pdwconnection ) , ) } pub unsafe fn Uncache < > ( & self , dwconnection : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) } pub unsafe fn EnumCache < > ( & self , ppenumstatdata : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumstatdata ) , ) } pub unsafe fn InitCache < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( & self , pdataobject : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , ) } pub unsafe fn SetData < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , frelease : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , frelease . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumstatdata : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , frelease : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleCache2 ( :: windows :: IUnknown ) ; impl IOleCache2 { } 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 IOleCache2 { pub unsafe fn Cache < > ( & self , pformatetc : * mut FORMATETC , advf : u32 , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( advf ) , :: std :: mem :: transmute ( pdwconnection ) , ) } pub unsafe fn Uncache < > ( & self , dwconnection : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) } pub unsafe fn EnumCache < > ( & self , ppenumstatdata : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumstatdata ) , ) } pub unsafe fn InitCache < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( & self , pdataobject : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , ) } pub unsafe fn SetData < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , frelease : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , frelease . into_param ( ) . abi ( ) , ) } pub unsafe fn UpdateCache < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( & self , pdataobject : T0__ , grfupdf : UPDFCACHE_FLAGS , preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfupdf ) , :: std :: mem :: transmute ( preserved ) , ) } pub unsafe fn DiscardCache < > ( & self , dwdiscardoptions : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdiscardoptions ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumstatdata : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , frelease : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , grfupdf : UPDFCACHE_FLAGS , preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdiscardoptions : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleCacheControl ( :: windows :: IUnknown ) ; impl IOleCacheControl { } 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 IOleCacheControl { pub unsafe fn OnRun < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( & self , pdataobject : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , ) } pub unsafe fn OnStop < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleClientSite ( :: windows :: IUnknown ) ; impl IOleClientSite { } 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 IOleClientSite { pub unsafe fn SaveObject < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetMoniker < > ( & self , dwassign : u32 , dwwhichmoniker : u32 , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwassign ) , :: std :: mem :: transmute ( dwwhichmoniker ) , :: std :: mem :: transmute ( ppmk ) , ) } pub unsafe fn GetContainer < > ( & self , ppcontainer : * mut :: std :: option :: Option < IOleContainer > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppcontainer ) , ) } pub unsafe fn ShowObject < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnShowWindow < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fshow : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , fshow . into_param ( ) . abi ( ) , ) } pub unsafe fn RequestNewObjectLayout < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwassign : u32 , dwwhichmoniker : u32 , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppcontainer : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fshow : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleCommandTarget ( :: windows :: IUnknown ) ; impl IOleCommandTarget { } 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 IOleCommandTarget { pub unsafe fn QueryStatus < > ( & self , pguidcmdgroup : * const :: windows :: Guid , ccmds : u32 , prgcmds : * mut OLECMD , pcmdtext : * mut OLECMDTEXT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IParseDisplayName ( :: windows :: IUnknown ) ; impl IParseDisplayName { } 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 IParseDisplayName { pub unsafe fn ParseDisplayName < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pbc : T0__ , pszdisplayname : T1__ , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleContainer ( :: windows :: IUnknown ) ; impl IOleContainer { } 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 IOleContainer { pub unsafe fn ParseDisplayName < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pbc : T0__ , pszdisplayname : T1__ , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn EnumObjects < > ( & self , grfflags : u32 , ppenum : * mut :: std :: option :: Option < IEnumUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , :: std :: mem :: transmute ( ppenum ) , ) } pub unsafe fn LockContainer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , flock : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfflags : u32 , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleControl ( :: windows :: IUnknown ) ; impl IOleControl { } 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 IOleControl { pub unsafe fn GetControlInfo < > ( & self , pci : * mut CONTROLINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pci ) , ) } pub unsafe fn OnMnemonic < > ( & self , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) } pub unsafe fn OnAmbientPropertyChange < > ( & self , dispid : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) } pub unsafe fn FreezeEvents < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , bfreeze : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , bfreeze . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bfreeze : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleControlSite ( :: windows :: IUnknown ) ; impl IOleControlSite { } 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 IOleControlSite { pub unsafe fn OnControlInfoChanged < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn LockInPlaceActive < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , flock : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) } pub unsafe fn GetExtendedControl < > ( & self , ppdisp : * mut :: std :: option :: Option < super :: Automation :: IDispatch > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppdisp ) , ) } pub unsafe fn TransformCoords < > ( & self , pptlhimetric : * mut super :: DisplayDevices :: POINTL , pptfcontainer : * mut POINTF , dwflags : IOleControlSite_TransformCoordsFlags , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pptlhimetric ) , :: std :: mem :: transmute ( pptfcontainer ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn TranslateAcceleratorA < > ( & self , pmsg : * mut super :: WindowsAndMessaging :: MSG , grfmodifiers : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( grfmodifiers ) , ) } pub unsafe fn OnFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fgotfocus : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , fgotfocus . into_param ( ) . abi ( ) , ) } pub unsafe fn ShowPropertyFrame < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdisp : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pptlhimetric : * mut super :: DisplayDevices :: POINTL , pptfcontainer : * mut POINTF , dwflags : IOleControlSite_TransformCoordsFlags , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super :: WindowsAndMessaging :: MSG , grfmodifiers : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fgotfocus : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IOleControlSite_TransformCoordsFlags ( pub u32 ) ; impl IOleControlSite_TransformCoordsFlags { pub const XFORMCOORDS_POSITION : Self = Self ( 1u32 ) ; pub const XFORMCOORDS_SIZE : Self = Self ( 2u32 ) ; pub const XFORMCOORDS_HIMETRICTOCONTAINER : Self = Self ( 4u32 ) ; pub const XFORMCOORDS_CONTAINERTOHIMETRIC : Self = Self ( 8u32 ) ; pub const XFORMCOORDS_EVENTCOMPAT : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for IOleControlSite_TransformCoordsFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IOleControlSite_TransformCoordsFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for IOleControlSite_TransformCoordsFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for IOleControlSite_TransformCoordsFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for IOleControlSite_TransformCoordsFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for IOleControlSite_TransformCoordsFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleDocument ( :: windows :: IUnknown ) ; impl IOleDocument { } 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 IOleDocument { pub unsafe fn CreateView < 'a , T0__ : :: windows :: IntoParam < 'a , IOleInPlaceSite > , T1__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pipsite : T0__ , pstm : T1__ , dwreserved : u32 , ppview : * mut :: std :: option :: Option < IOleDocumentView > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pipsite . into_param ( ) . abi ( ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( ppview ) , ) } pub unsafe fn GetDocMiscStatus < > ( & self , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwstatus ) , ) } pub unsafe fn EnumViews < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOleDocumentViews > , ppview : * mut :: std :: option :: Option < IOleDocumentView > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , :: std :: mem :: transmute ( ppview ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ppview : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleDocumentSite ( :: windows :: IUnknown ) ; impl IOleDocumentSite { } 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 IOleDocumentSite { pub unsafe fn ActivateMe < 'a , T0__ : :: windows :: IntoParam < 'a , IOleDocumentView > , > ( & self , pviewtoactivate : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pviewtoactivate . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleDocumentView ( :: windows :: IUnknown ) ; impl IOleDocumentView { } 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 IOleDocumentView { pub unsafe fn SetInPlaceSite < 'a , T0__ : :: windows :: IntoParam < 'a , IOleInPlaceSite > , > ( & self , pipsite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pipsite . into_param ( ) . abi ( ) , ) } pub unsafe fn GetInPlaceSite < > ( & self , ppipsite : * mut :: std :: option :: Option < IOleInPlaceSite > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppipsite ) , ) } pub unsafe fn GetDocument < > ( & self , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppunk ) , ) } pub unsafe fn SetRect < > ( & self , prcview : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prcview ) , ) } pub unsafe fn GetRect < > ( & self , prcview : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prcview ) , ) } pub unsafe fn SetRectComplex < > ( & self , prcview : * mut super :: DisplayDevices :: RECT , prchscroll : * mut super :: DisplayDevices :: RECT , prcvscroll : * mut super :: DisplayDevices :: RECT , prcsizebox : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Show < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fshow : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , fshow . into_param ( ) . abi ( ) , ) } pub unsafe fn UIActivate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fuiactivate : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fuiactivate . into_param ( ) . abi ( ) , ) } pub unsafe fn Open < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn CloseView < > ( & self , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn SaveViewState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn ApplyViewState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn Clone < 'a , T0__ : :: windows :: IntoParam < 'a , IOleInPlaceSite > , > ( & self , pipsitenew : T0__ , ppviewnew : * mut :: std :: option :: Option < IOleDocumentView > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pipsitenew . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppviewnew ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppipsite : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcview : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcview : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcview : * mut super :: DisplayDevices :: RECT , prchscroll : * mut super :: DisplayDevices :: RECT , prcvscroll : * mut super :: DisplayDevices :: RECT , prcsizebox : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fshow : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fuiactivate : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pipsitenew : :: windows :: RawPtr , ppviewnew : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleWindow ( :: windows :: IUnknown ) ; impl IOleWindow { } 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 IOleWindow { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceActiveObject ( :: windows :: IUnknown ) ; impl IOleInPlaceActiveObject { } 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 IOleInPlaceActiveObject { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn TranslateAcceleratorA < > ( & self , lpmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpmsg ) , ) } pub unsafe fn OnFrameWindowActivate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , factivate : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , factivate . into_param ( ) . abi ( ) , ) } pub unsafe fn OnDocWindowActivate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , factivate : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , factivate . into_param ( ) . abi ( ) , ) } pub unsafe fn ResizeBorder < 'a , T1__ : :: windows :: IntoParam < 'a , IOleInPlaceUIWindow > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prcborder : * mut super :: DisplayDevices :: RECT , puiwindow : T1__ , fframewindow : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prcborder ) , puiwindow . into_param ( ) . abi ( ) , fframewindow . into_param ( ) . abi ( ) , ) } pub unsafe fn EnableModeless < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fenable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lpmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , factivate : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , factivate : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcborder : * mut super :: DisplayDevices :: RECT , puiwindow : :: windows :: RawPtr , fframewindow : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceUIWindow ( :: windows :: IUnknown ) ; impl IOleInPlaceUIWindow { } 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 IOleInPlaceUIWindow { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn GetBorder < > ( & self , lprectborder : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprectborder ) , ) } pub unsafe fn RequestBorderSpace < > ( & self , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) } pub unsafe fn SetBorderSpace < > ( & self , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) } pub unsafe fn SetActiveObject < 'a , T0__ : :: windows :: IntoParam < 'a , IOleInPlaceActiveObject > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pactiveobject : T0__ , pszobjname : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pactiveobject . into_param ( ) . abi ( ) , pszobjname . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprectborder : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactiveobject : :: windows :: RawPtr , pszobjname : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceFrame ( :: windows :: IUnknown ) ; impl IOleInPlaceFrame { } 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 IOleInPlaceFrame { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn GetBorder < > ( & self , lprectborder : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprectborder ) , ) } pub unsafe fn RequestBorderSpace < > ( & self , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) } pub unsafe fn SetBorderSpace < > ( & self , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) } pub unsafe fn SetActiveObject < 'a , T0__ : :: windows :: IntoParam < 'a , IOleInPlaceActiveObject > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pactiveobject : T0__ , pszobjname : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pactiveobject . into_param ( ) . abi ( ) , pszobjname . into_param ( ) . abi ( ) , ) } pub unsafe fn InsertMenus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( & self , hmenushared : T0__ , lpmenuwidths : * mut OleMenuGroupWidths , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , hmenushared . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmenuwidths ) , ) } pub unsafe fn SetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hmenushared : T0__ , holemenu : isize , hwndactiveobject : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , hmenushared . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( holemenu ) , hwndactiveobject . into_param ( ) . abi ( ) , ) } pub unsafe fn RemoveMenus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( & self , hmenushared : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , hmenushared . into_param ( ) . abi ( ) , ) } pub unsafe fn SetStatusText < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszstatustext : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszstatustext . into_param ( ) . abi ( ) , ) } pub unsafe fn EnableModeless < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fenable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) } pub unsafe fn TranslateAcceleratorA < > ( & self , lpmsg : * mut super :: WindowsAndMessaging :: MSG , wid : u16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpmsg ) , :: std :: mem :: transmute ( wid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprectborder : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactiveobject : :: windows :: RawPtr , pszobjname : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hmenushared : super :: MenusAndResources :: HMENU , lpmenuwidths : * mut OleMenuGroupWidths , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hmenushared : super :: MenusAndResources :: HMENU , holemenu : isize , hwndactiveobject : super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hmenushared : super :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszstatustext : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lpmsg : * mut super :: WindowsAndMessaging :: MSG , wid : u16 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceObject ( :: windows :: IUnknown ) ; impl IOleInPlaceObject { } 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 IOleInPlaceObject { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn InPlaceDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn UIDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetObjectRects < > ( & self , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , ) } pub unsafe fn ReactivateAndUndo < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceObjectWindowless ( :: windows :: IUnknown ) ; impl IOleInPlaceObjectWindowless { } 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 IOleInPlaceObjectWindowless { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn InPlaceDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn UIDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetObjectRects < > ( & self , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , ) } pub unsafe fn ReactivateAndUndo < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnWindowMessage < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: WPARAM > , T2__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: LPARAM > , > ( & self , msg : u32 , wparam : T1__ , lparam : T2__ , plresult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( msg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plresult ) , ) } pub unsafe fn GetDropTarget < > ( & self , ppdroptarget : * mut :: std :: option :: Option < IDropTarget > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppdroptarget ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , msg : u32 , wparam : super :: WindowsAndMessaging :: WPARAM , lparam : super :: WindowsAndMessaging :: LPARAM , plresult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdroptarget : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceSite ( :: windows :: IUnknown ) ; impl IOleInPlaceSite { } 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 IOleInPlaceSite { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn CanInPlaceActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnInPlaceActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnUIActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetWindowContext < > ( & self , ppframe : * mut :: std :: option :: Option < IOleInPlaceFrame > , ppdoc : * mut :: std :: option :: Option < IOleInPlaceUIWindow > , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Scroll < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: SIZE > , > ( & self , scrollextant : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , scrollextant . into_param ( ) . abi ( ) , ) } pub unsafe fn OnUIDeactivate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fundoable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fundoable . into_param ( ) . abi ( ) , ) } pub unsafe fn OnInPlaceDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DiscardUndoState < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DeactivateAndUndo < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnPosRectChange < > ( & self , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ppdoc : * mut :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , scrollextant : super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fundoable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceSiteEx ( :: windows :: IUnknown ) ; impl IOleInPlaceSiteEx { } 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 IOleInPlaceSiteEx { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn CanInPlaceActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnInPlaceActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnUIActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetWindowContext < > ( & self , ppframe : * mut :: std :: option :: Option < IOleInPlaceFrame > , ppdoc : * mut :: std :: option :: Option < IOleInPlaceUIWindow > , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Scroll < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: SIZE > , > ( & self , scrollextant : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , scrollextant . into_param ( ) . abi ( ) , ) } pub unsafe fn OnUIDeactivate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fundoable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fundoable . into_param ( ) . abi ( ) , ) } pub unsafe fn OnInPlaceDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DiscardUndoState < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DeactivateAndUndo < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnPosRectChange < > ( & self , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , ) } pub unsafe fn OnInPlaceActivateEx < > ( & self , pfnoredraw : * mut super :: SystemServices :: BOOL , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfnoredraw ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn OnInPlaceDeactivateEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fnoredraw : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , fnoredraw . into_param ( ) . abi ( ) , ) } pub unsafe fn RequestUIActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ppdoc : * mut :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , scrollextant : super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fundoable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfnoredraw : * mut super :: SystemServices :: BOOL , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fnoredraw : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceSiteWindowless ( :: windows :: IUnknown ) ; impl IOleInPlaceSiteWindowless { } 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 IOleInPlaceSiteWindowless { pub unsafe fn GetWindow < > ( & self , phwnd : * mut super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , ) } pub unsafe fn ContextSensitiveHelp < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fentermode : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) } pub unsafe fn CanInPlaceActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnInPlaceActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnUIActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetWindowContext < > ( & self , ppframe : * mut :: std :: option :: Option < IOleInPlaceFrame > , ppdoc : * mut :: std :: option :: Option < IOleInPlaceUIWindow > , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Scroll < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: SIZE > , > ( & self , scrollextant : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , scrollextant . into_param ( ) . abi ( ) , ) } pub unsafe fn OnUIDeactivate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fundoable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fundoable . into_param ( ) . abi ( ) , ) } pub unsafe fn OnInPlaceDeactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DiscardUndoState < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DeactivateAndUndo < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnPosRectChange < > ( & self , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , ) } pub unsafe fn OnInPlaceActivateEx < > ( & self , pfnoredraw : * mut super :: SystemServices :: BOOL , dwflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfnoredraw ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn OnInPlaceDeactivateEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fnoredraw : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , fnoredraw . into_param ( ) . abi ( ) , ) } pub unsafe fn RequestUIActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn CanWindowlessActivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetCapture < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetCapture < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fcapture : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , fcapture . into_param ( ) . abi ( ) , ) } pub unsafe fn GetFocus < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , ffocus : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , ffocus . into_param ( ) . abi ( ) , ) } pub unsafe fn GetDC < > ( & self , prect : * mut super :: DisplayDevices :: RECT , grfflags : u32 , phdc : * mut super :: Gdi :: HDC , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , :: std :: mem :: transmute ( grfflags ) , :: std :: mem :: transmute ( phdc ) , ) } pub unsafe fn ReleaseDC < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , hdc : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , hdc . into_param ( ) . abi ( ) , ) } pub unsafe fn InvalidateRect < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prect : * mut super :: DisplayDevices :: RECT , ferase : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , ferase . into_param ( ) . abi ( ) , ) } pub unsafe fn InvalidateRgn < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HRGN > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , hrgn : T0__ , ferase : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .26 ) ( :: windows :: Abi :: abi ( self ) , hrgn . into_param ( ) . abi ( ) , ferase . into_param ( ) . abi ( ) , ) } pub unsafe fn ScrollRect < > ( & self , dx : i32 , dy : i32 , prectscroll : * mut super :: DisplayDevices :: RECT , prectclip : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn AdjustRect < > ( & self , prc : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .28 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prc ) , ) } pub unsafe fn OnDefWindowMessage < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: WPARAM > , T2__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: LPARAM > , > ( & self , msg : u32 , wparam : T1__ , lparam : T2__ , plresult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .29 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( msg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plresult ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ppdoc : * mut :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , lprccliprect : * mut super :: DisplayDevices :: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , scrollextant : super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fundoable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfnoredraw : * mut super :: SystemServices :: BOOL , dwflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fnoredraw : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fcapture : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ffocus : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super :: DisplayDevices :: RECT , grfflags : u32 , phdc : * mut super :: Gdi :: HDC , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super :: Gdi :: HDC , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super :: DisplayDevices :: RECT , ferase : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrgn : super :: Gdi :: HRGN , ferase : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dx : i32 , dy : i32 , prectscroll : * mut super :: DisplayDevices :: RECT , prectclip : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prc : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , msg : u32 , wparam : super :: WindowsAndMessaging :: WPARAM , lparam : super :: WindowsAndMessaging :: LPARAM , plresult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleItemContainer ( :: windows :: IUnknown ) ; impl IOleItemContainer { } 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 IOleItemContainer { pub unsafe fn ParseDisplayName < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pbc : T0__ , pszdisplayname : T1__ , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn EnumObjects < > ( & self , grfflags : u32 , ppenum : * mut :: std :: option :: Option < IEnumUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , :: std :: mem :: transmute ( ppenum ) , ) } pub unsafe fn LockContainer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , flock : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) } pub unsafe fn GetObject < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pszitem : T0__ , dwspeedneeded : u32 , pbc : T2__ , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pszitem . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwspeedneeded ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobject ) , ) } pub unsafe fn GetObjectStorage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pszitem : T0__ , pbc : T1__ , riid : * const :: windows :: Guid , ppvstorage : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pszitem . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvstorage ) , ) } pub unsafe fn IsRunning < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszitem : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pszitem . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfflags : u32 , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszitem : super :: SystemServices :: PWSTR , dwspeedneeded : u32 , pbc : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszitem : super :: SystemServices :: PWSTR , pbc : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvstorage : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszitem : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleLink ( :: windows :: IUnknown ) ; impl IOleLink { } 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 IOleLink { pub unsafe fn SetUpdateOptions < > ( & self , dwupdateopt : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwupdateopt ) , ) } pub unsafe fn GetUpdateOptions < > ( & self , pdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwupdateopt ) , ) } pub unsafe fn SetSourceMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , pmk : T0__ , rclsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rclsid ) , ) } pub unsafe fn GetSourceMoniker < > ( & self , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppmk ) , ) } pub unsafe fn SetSourceDisplayName < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszstatustext : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pszstatustext . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSourceDisplayName < > ( & self , ppszdisplayname : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppszdisplayname ) , ) } pub unsafe fn BindToSource < 'a , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , bindflags : u32 , pbc : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( bindflags ) , pbc . into_param ( ) . abi ( ) , ) } pub unsafe fn BindIfRunning < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetBoundSource < > ( & self , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppunk ) , ) } pub unsafe fn UnbindSource < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Update < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pbc : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszstatustext : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppszdisplayname : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bindflags : u32 , pbc : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleObject ( :: windows :: IUnknown ) ; impl IOleObject { } 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 IOleObject { pub unsafe fn SetClientSite < 'a , T0__ : :: windows :: IntoParam < 'a , IOleClientSite > , > ( & self , pclientsite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pclientsite . into_param ( ) . abi ( ) , ) } pub unsafe fn GetClientSite < > ( & self , ppclientsite : * mut :: std :: option :: Option < IOleClientSite > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppclientsite ) , ) } pub unsafe fn SetHostNames < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , szcontainerapp : T0__ , szcontainerobj : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , szcontainerapp . into_param ( ) . abi ( ) , szcontainerobj . into_param ( ) . abi ( ) , ) } pub unsafe fn Close < > ( & self , dwsaveoption : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwsaveoption ) , ) } pub unsafe fn SetMoniker < 'a , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( & self , dwwhichmoniker : u32 , pmk : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwwhichmoniker ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn GetMoniker < > ( & self , dwassign : u32 , dwwhichmoniker : u32 , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwassign ) , :: std :: mem :: transmute ( dwwhichmoniker ) , :: std :: mem :: transmute ( ppmk ) , ) } pub unsafe fn InitFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pdataobject : T0__ , fcreation : T1__ , dwreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , fcreation . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn GetClipboardData < > ( & self , dwreserved : u32 , ppdataobject : * mut :: std :: option :: Option < IDataObject > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( ppdataobject ) , ) } pub unsafe fn DoVerb < 'a , T2__ : :: windows :: IntoParam < 'a , IOleClientSite > , T4__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , iverb : i32 , lpmsg : * mut super :: WindowsAndMessaging :: MSG , pactivesite : T2__ , lindex : i32 , hwndparent : T4__ , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn EnumVerbs < > ( & self , ppenumoleverb : * mut :: std :: option :: Option < IEnumOLEVERB > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumoleverb ) , ) } pub unsafe fn Update < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn IsUpToDate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetUserClassID < > ( & self , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclsid ) , ) } pub unsafe fn GetUserType < > ( & self , dwformoftype : u32 , pszusertype : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwformoftype ) , :: std :: mem :: transmute ( pszusertype ) , ) } pub unsafe fn SetExtent < > ( & self , dwdrawaspect : u32 , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( psizel ) , ) } pub unsafe fn GetExtent < > ( & self , dwdrawaspect : u32 , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( psizel ) , ) } pub unsafe fn Advise < 'a , T0__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , padvsink : T0__ , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , padvsink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwconnection ) , ) } pub unsafe fn Unadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) } pub unsafe fn EnumAdvise < > ( & self , ppenumadvise : * mut :: std :: option :: Option < IEnumSTATDATA > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenumadvise ) , ) } pub unsafe fn GetMiscStatus < > ( & self , dwaspect : u32 , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( pdwstatus ) , ) } pub unsafe fn SetColorScheme < > ( & self , plogpal : * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plogpal ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppclientsite : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , szcontainerapp : super :: SystemServices :: PWSTR , szcontainerobj : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwsaveoption : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwwhichmoniker : u32 , pmk : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwassign : u32 , dwwhichmoniker : u32 , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , fcreation : super :: SystemServices :: BOOL , dwreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ppdataobject : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iverb : i32 , lpmsg : * mut super :: WindowsAndMessaging :: MSG , pactivesite : :: windows :: RawPtr , lindex : i32 , hwndparent : super :: WindowsAndMessaging :: HWND , lprcposrect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumoleverb : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwformoftype : u32 , pszusertype : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , padvsink : :: windows :: RawPtr , pdwconnection : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plogpal : * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUndoUnit ( :: windows :: IUnknown ) ; impl IOleUndoUnit { } 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 IOleUndoUnit { pub unsafe fn Do < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoManager > , > ( & self , pundomanager : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pundomanager . into_param ( ) . abi ( ) , ) } pub unsafe fn GetUnitType < > ( & self , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclsid ) , :: std :: mem :: transmute ( plid ) , ) } pub unsafe fn OnNextAdd < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleParentUndoUnit ( :: windows :: IUnknown ) ; impl IOleParentUndoUnit { } 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 IOleParentUndoUnit { pub unsafe fn Do < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoManager > , > ( & self , pundomanager : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pundomanager . into_param ( ) . abi ( ) , ) } pub unsafe fn GetUnitType < > ( & self , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclsid ) , :: std :: mem :: transmute ( plid ) , ) } pub unsafe fn OnNextAdd < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Open < 'a , T0__ : :: windows :: IntoParam < 'a , IOleParentUndoUnit > , > ( & self , ppuu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , ) } pub unsafe fn Close < 'a , T0__ : :: windows :: IntoParam < 'a , IOleParentUndoUnit > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , ppuu : T0__ , fcommit : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , fcommit . into_param ( ) . abi ( ) , ) } pub unsafe fn Add < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoUnit > , > ( & self , puu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) } pub unsafe fn FindUnit < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoUnit > , > ( & self , puu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) } pub unsafe fn GetParentState < > ( & self , pdwstate : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwstate ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppuu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppuu : :: windows :: RawPtr , fcommit : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstate : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkContainerA ( :: windows :: IUnknown ) ; impl IOleUILinkContainerA { } unsafe impl :: windows :: Interface for IOleUILinkContainerA { type Vtable = IOleUILinkContainerA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } 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 :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lpdwupdateopt ) , ) } pub unsafe fn SetLinkSource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , lpszdisplayname : T1__ , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PSTR , lplpszshortlinktype : * mut super :: SystemServices :: PSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn UpdateLink < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , ferrormessage : T1__ , freserved : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super :: SystemServices :: PSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PSTR , lplpszshortlinktype : * mut super :: SystemServices :: PSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super :: SystemServices :: BOOL , freserved : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkContainerW ( :: windows :: IUnknown ) ; impl IOleUILinkContainerW { } unsafe impl :: windows :: Interface for IOleUILinkContainerW { type Vtable = IOleUILinkContainerW_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } 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 :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lpdwupdateopt ) , ) } pub unsafe fn SetLinkSource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , lpszdisplayname : T1__ , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PWSTR , lplpszshortlinktype : * mut super :: SystemServices :: PWSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn UpdateLink < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , ferrormessage : T1__ , freserved : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super :: SystemServices :: PWSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PWSTR , lplpszshortlinktype : * mut super :: SystemServices :: PWSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super :: SystemServices :: BOOL , freserved : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkInfoA ( :: windows :: IUnknown ) ; impl IOleUILinkInfoA { } unsafe impl :: windows :: Interface for IOleUILinkInfoA { type Vtable = IOleUILinkInfoA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } 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 :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lpdwupdateopt ) , ) } pub unsafe fn SetLinkSource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , lpszdisplayname : T1__ , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PSTR , lplpszshortlinktype : * mut super :: SystemServices :: PSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn UpdateLink < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , ferrormessage : T1__ , freserved : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn GetLastUpdate < > ( & self , dwlink : u32 , lplastupdate : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lplastupdate ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super :: SystemServices :: PSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PSTR , lplpszshortlinktype : * mut super :: SystemServices :: PSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super :: SystemServices :: BOOL , freserved : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplastupdate : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkInfoW ( :: windows :: IUnknown ) ; impl IOleUILinkInfoW { } unsafe impl :: windows :: Interface for IOleUILinkInfoW { type Vtable = IOleUILinkInfoW_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } 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 :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lpdwupdateopt ) , ) } pub unsafe fn SetLinkSource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , lpszdisplayname : T1__ , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PWSTR , lplpszshortlinktype : * mut super :: SystemServices :: PWSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn UpdateLink < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwlink : u32 , ferrormessage : T1__ , freserved : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn GetLastUpdate < > ( & self , dwlink : u32 , lplastupdate : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lplastupdate ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super :: SystemServices :: PWSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super :: SystemServices :: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super :: SystemServices :: PWSTR , lplpszshortlinktype : * mut super :: SystemServices :: PWSTR , lpfsourceavailable : * mut super :: SystemServices :: BOOL , lpfisselected : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super :: SystemServices :: BOOL , freserved : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplastupdate : * mut super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUIObjInfoA ( :: windows :: IUnknown ) ; impl IOleUIObjInfoA { } unsafe impl :: windows :: Interface for IOleUIObjInfoA { type Vtable = IOleUIObjInfoA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl IOleUIObjInfoA { pub unsafe fn GetObjectInfo < > ( & self , dwobject : u32 , lpdwobjsize : * mut u32 , lplpszlabel : * mut super :: SystemServices :: PSTR , lplpsztype : * mut super :: SystemServices :: PSTR , lplpszshorttype : * mut super :: SystemServices :: PSTR , lplpszlocation : * mut super :: SystemServices :: PSTR , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ConvertObject < > ( & self , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( clsidnew ) , ) } pub unsafe fn GetViewInfo < > ( & self , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetViewInfo < 'a , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PSTR , lplpsztype : * mut super :: SystemServices :: PSTR , lplpszshorttype : * mut super :: SystemServices :: PSTR , lplpszlocation : * mut super :: SystemServices :: PSTR , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUIObjInfoW ( :: windows :: IUnknown ) ; impl IOleUIObjInfoW { } unsafe impl :: windows :: Interface for IOleUIObjInfoW { type Vtable = IOleUIObjInfoW_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl IOleUIObjInfoW { pub unsafe fn GetObjectInfo < > ( & self , dwobject : u32 , lpdwobjsize : * mut u32 , lplpszlabel : * mut super :: SystemServices :: PWSTR , lplpsztype : * mut super :: SystemServices :: PWSTR , lplpszshorttype : * mut super :: SystemServices :: PWSTR , lplpszlocation : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ConvertObject < > ( & self , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( clsidnew ) , ) } pub unsafe fn GetViewInfo < > ( & self , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetViewInfo < 'a , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , lplpsztype : * mut super :: SystemServices :: PWSTR , lplpszshorttype : * mut super :: SystemServices :: PWSTR , lplpszlocation : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUndoManager ( :: windows :: IUnknown ) ; impl IOleUndoManager { } 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 IOleUndoManager { pub unsafe fn Open < 'a , T0__ : :: windows :: IntoParam < 'a , IOleParentUndoUnit > , > ( & self , ppuu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , ) } pub unsafe fn Close < 'a , T0__ : :: windows :: IntoParam < 'a , IOleParentUndoUnit > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , ppuu : T0__ , fcommit : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , fcommit . into_param ( ) . abi ( ) , ) } pub unsafe fn Add < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoUnit > , > ( & self , puu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) } pub unsafe fn GetOpenParentState < > ( & self , pdwstate : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwstate ) , ) } pub unsafe fn DiscardFrom < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoUnit > , > ( & self , puu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) } pub unsafe fn UndoTo < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoUnit > , > ( & self , puu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) } pub unsafe fn RedoTo < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUndoUnit > , > ( & self , puu : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) } pub unsafe fn EnumUndoable < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOleUndoUnits > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } pub unsafe fn EnumRedoable < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOleUndoUnits > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , ) } pub unsafe fn Enable < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fenable : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppuu : :: windows :: RawPtr , fcommit : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstate : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOplockStorage ( :: windows :: IUnknown ) ; impl IOplockStorage { } 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 IOplockStorage { pub unsafe fn CreateStorageEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , riid : * const :: windows :: Guid , ppstgopen : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppstgopen ) , ) } pub unsafe fn OpenStorageEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , riid : * const :: windows :: Guid , ppstgopen : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppstgopen ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , riid : * const :: windows :: Guid , ppstgopen : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , riid : * const :: windows :: Guid , ppstgopen : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPSFactoryBuffer ( :: windows :: IUnknown ) ; impl IPSFactoryBuffer { } 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 IPSFactoryBuffer { pub unsafe fn CreateProxy < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punkouter : T0__ , riid : * const :: windows :: Guid , ppproxy : * mut :: std :: option :: Option < IRpcProxyBuffer > , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn CreateStub < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , riid : * const :: windows :: Guid , punkserver : T1__ , ppstub : * mut :: std :: option :: Option < IRpcStubBuffer > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , punkserver . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppstub ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , punkserver : :: windows :: RawPtr , ppstub : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPerPropertyBrowsing ( :: windows :: IUnknown ) ; impl IPerPropertyBrowsing { } 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 IPerPropertyBrowsing { pub unsafe fn MapPropertyToPage < > ( & self , dispid : i32 , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , :: std :: mem :: transmute ( pclsid ) , ) } pub unsafe fn GetPredefinedStrings < > ( & self , dispid : i32 , pcastringsout : * mut CALPOLESTR , pcacookiesout : * mut CADWORD , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , :: std :: mem :: transmute ( pcastringsout ) , :: std :: mem :: transmute ( pcacookiesout ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , pcastringsout : * mut CALPOLESTR , pcacookiesout : * mut CADWORD , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistFile ( :: windows :: IUnknown ) ; impl IPersistFile { } 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 IPersistFile { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Load < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszfilename : T0__ , dwmode : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmode ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pszfilename : T0__ , fremember : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pszfilename . into_param ( ) . abi ( ) , fremember . into_param ( ) . abi ( ) , ) } pub unsafe fn SaveCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszfilename : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pszfilename . into_param ( ) . abi ( ) , ) } pub unsafe fn GetCurFile < > ( & self , ppszfilename : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppszfilename ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszfilename : super :: SystemServices :: PWSTR , dwmode : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszfilename : super :: SystemServices :: PWSTR , fremember : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszfilename : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppszfilename : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistMemory ( :: windows :: IUnknown ) ; impl IPersistMemory { } 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 IPersistMemory { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Load < > ( & self , pmem : * mut :: std :: ffi :: c_void , cbsize : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmem ) , :: std :: mem :: transmute ( cbsize ) , ) } pub unsafe fn Save < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pmem : * mut :: std :: ffi :: c_void , fcleardirty : T1__ , cbsize : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmem ) , fcleardirty . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbsize ) , ) } pub unsafe fn GetSizeMax < > ( & self , pcbsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcbsize ) , ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmem : * mut :: std :: ffi :: c_void , cbsize : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmem : * mut :: std :: ffi :: c_void , fcleardirty : super :: SystemServices :: BOOL , cbsize : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistMoniker ( :: windows :: IUnknown ) ; impl IPersistMoniker { } 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 IPersistMoniker { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Load < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , T2__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , ffullyavailable : T0__ , pimkname : T1__ , pibc : T2__ , grfmode : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pimkname : T0__ , pbc : T1__ , fremember : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pimkname . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , fremember . into_param ( ) . abi ( ) , ) } pub unsafe fn SaveCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pimkname : T0__ , pibc : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pimkname . into_param ( ) . abi ( ) , pibc . into_param ( ) . abi ( ) , ) } pub unsafe fn GetCurMoniker < > ( & self , ppimkname : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppimkname ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ffullyavailable : super :: SystemServices :: BOOL , pimkname : :: windows :: RawPtr , pibc : :: windows :: RawPtr , grfmode : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pimkname : :: windows :: RawPtr , pbc : :: windows :: RawPtr , fremember : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pimkname : :: windows :: RawPtr , pibc : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppimkname : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistPropertyBag ( :: windows :: IUnknown ) ; impl IPersistPropertyBag { } 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 IPersistPropertyBag { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistPropertyBag2 ( :: windows :: IUnknown ) ; impl IPersistPropertyBag2 { } 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 IPersistPropertyBag2 { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , IPropertyBag2 > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , ppropbag : T0__ , fcleardirty : T1__ , fsaveallproperties : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ppropbag . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , fsaveallproperties . into_param ( ) . abi ( ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppropbag : :: windows :: RawPtr , fcleardirty : super :: SystemServices :: BOOL , fsaveallproperties : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistStorage ( :: windows :: IUnknown ) ; impl IPersistStorage { } 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 IPersistStorage { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn InitNew < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( & self , pstg : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , ) } pub unsafe fn Load < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( & self , pstg : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pstgsave : T0__ , fsameasload : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstgsave . into_param ( ) . abi ( ) , fsameasload . into_param ( ) . abi ( ) , ) } pub unsafe fn SaveCompleted < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( & self , pstgnew : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pstgnew . into_param ( ) . abi ( ) , ) } pub unsafe fn HandsOffStorage < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstgsave : :: windows :: RawPtr , fsameasload : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstgnew : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistStreamInit ( :: windows :: IUnknown ) ; impl IPersistStreamInit { } 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 IPersistStreamInit { pub unsafe fn GetClassID < > ( & self , pclassid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclassid ) , ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Load < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( & self , pstm : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) } pub unsafe fn Save < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pstm : T0__ , fcleardirty : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , ) } pub unsafe fn GetSizeMax < > ( & self , pcbsize : * mut u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcbsize ) , ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , fcleardirty : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPicture ( :: windows :: IUnknown ) ; impl IPicture { } 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 IPicture { pub unsafe fn get_Handle < > ( & self , phandle : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phandle ) , ) } pub unsafe fn get_hPal < > ( & self , phpal : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phpal ) , ) } pub unsafe fn get_Type < > ( & self , ptype : * mut i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ptype ) , ) } pub unsafe fn get_Width < > ( & self , pwidth : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pwidth ) , ) } pub unsafe fn get_Height < > ( & self , pheight : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pheight ) , ) } pub unsafe fn Render < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , hdc : T0__ , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn set_hPal < > ( & self , hpal : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hpal ) , ) } pub unsafe fn get_CurDC < > ( & self , phdc : * mut super :: Gdi :: HDC , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phdc ) , ) } pub unsafe fn SelectPicture < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , hdcin : T0__ , phdcout : * mut super :: Gdi :: HDC , phbmpout : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , hdcin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phdcout ) , :: std :: mem :: transmute ( phbmpout ) , ) } pub unsafe fn get_KeepOriginalFormat < > ( & self , pkeep : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pkeep ) , ) } pub unsafe fn put_KeepOriginalFormat < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , keep : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , keep . into_param ( ) . abi ( ) , ) } pub unsafe fn PictureChanged < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SaveAsFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pstream : T0__ , fsavememcopy : T1__ , pcbsize : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pstream . into_param ( ) . abi ( ) , fsavememcopy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcbsize ) , ) } pub unsafe fn get_Attributes < > ( & self , pdwattr : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwattr ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phpal : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ptype : * mut i16 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwidth : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pheight : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super :: Gdi :: HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hpal : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phdc : * mut super :: Gdi :: HDC , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdcin : super :: Gdi :: HDC , phdcout : * mut super :: Gdi :: HDC , phbmpout : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pkeep : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , keep : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstream : :: windows :: RawPtr , fsavememcopy : super :: SystemServices :: BOOL , pcbsize : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwattr : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPicture2 ( :: windows :: IUnknown ) ; impl IPicture2 { } 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 IPicture2 { pub unsafe fn get_Handle < > ( & self , phandle : * mut usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phandle ) , ) } pub unsafe fn get_hPal < > ( & self , phpal : * mut usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phpal ) , ) } pub unsafe fn get_Type < > ( & self , ptype : * mut i16 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ptype ) , ) } pub unsafe fn get_Width < > ( & self , pwidth : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pwidth ) , ) } pub unsafe fn get_Height < > ( & self , pheight : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pheight ) , ) } pub unsafe fn Render < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , hdc : T0__ , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn set_hPal < > ( & self , hpal : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hpal ) , ) } pub unsafe fn get_CurDC < > ( & self , phdc : * mut super :: Gdi :: HDC , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phdc ) , ) } pub unsafe fn SelectPicture < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , hdcin : T0__ , phdcout : * mut super :: Gdi :: HDC , phbmpout : * mut usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , hdcin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phdcout ) , :: std :: mem :: transmute ( phbmpout ) , ) } pub unsafe fn get_KeepOriginalFormat < > ( & self , pkeep : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pkeep ) , ) } pub unsafe fn put_KeepOriginalFormat < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , keep : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , keep . into_param ( ) . abi ( ) , ) } pub unsafe fn PictureChanged < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SaveAsFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , pstream : T0__ , fsavememcopy : T1__ , pcbsize : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pstream . into_param ( ) . abi ( ) , fsavememcopy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcbsize ) , ) } pub unsafe fn get_Attributes < > ( & self , pdwattr : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwattr ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phpal : * mut usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ptype : * mut i16 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwidth : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pheight : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super :: Gdi :: HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hpal : usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phdc : * mut super :: Gdi :: HDC , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdcin : super :: Gdi :: HDC , phdcout : * mut super :: Gdi :: HDC , phbmpout : * mut usize , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pkeep : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , keep : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstream : :: windows :: RawPtr , fsavememcopy : super :: SystemServices :: BOOL , pcbsize : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwattr : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPictureDisp ( :: windows :: IUnknown ) ; impl IPictureDisp { } 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 IPictureDisp { pub unsafe fn GetTypeInfoCount < > ( & self , pctinfo : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pctinfo ) , ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , pptinfo : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( pptinfo ) , ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: Automation :: IDispatch { fn from ( value : IPictureDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPictureDisp > for super :: Automation :: IDispatch { fn from ( value : & IPictureDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for IPictureDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super :: Automation :: IDispatch > for & 'a IPictureDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super :: Automation :: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super :: Automation :: 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super :: SystemServices :: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPipeByte ( :: windows :: IUnknown ) ; impl IPipeByte { } 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 IPipeByte { pub unsafe fn Pull < > ( & self , buf : * mut u8 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( crequest ) , :: std :: mem :: transmute ( pcreturned ) , ) } pub unsafe fn Push < > ( & self , buf : * mut u8 , csent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut u8 , csent : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPipeDouble ( :: windows :: IUnknown ) ; impl IPipeDouble { } 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 IPipeDouble { pub unsafe fn Pull < > ( & self , buf : * mut f64 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( crequest ) , :: std :: mem :: transmute ( pcreturned ) , ) } pub unsafe fn Push < > ( & self , buf : * mut f64 , csent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut f64 , csent : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPipeLong ( :: windows :: IUnknown ) ; impl IPipeLong { } 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 IPipeLong { pub unsafe fn Pull < > ( & self , buf : * mut i32 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( crequest ) , :: std :: mem :: transmute ( pcreturned ) , ) } pub unsafe fn Push < > ( & self , buf : * mut i32 , csent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut i32 , csent : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPointerInactive ( :: windows :: IUnknown ) ; impl IPointerInactive { } 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 IPointerInactive { pub unsafe fn GetActivationPolicy < > ( & self , pdwpolicy : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwpolicy ) , ) } pub unsafe fn OnInactiveMouseMove < > ( & self , prectbounds : * mut super :: DisplayDevices :: RECT , x : i32 , y : i32 , grfkeystate : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OnInactiveSetCursor < 'a , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , prectbounds : * mut super :: DisplayDevices :: RECT , x : i32 , y : i32 , dwmousemsg : u32 , fsetalways : T4__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prectbounds : * mut super :: DisplayDevices :: RECT , x : i32 , y : i32 , grfkeystate : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prectbounds : * mut super :: DisplayDevices :: RECT , x : i32 , y : i32 , dwmousemsg : u32 , fsetalways : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrint ( :: windows :: IUnknown ) ; impl IPrint { } 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 IPrint { pub unsafe fn SetInitialPageNum < > ( & self , nfirstpage : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nfirstpage ) , ) } pub unsafe fn GetPageInfo < > ( & self , pnfirstpage : * mut i32 , pcpages : * mut i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnfirstpage ) , :: std :: mem :: transmute ( pcpages ) , ) } pub unsafe fn Print < 'a , T4__ : :: windows :: IntoParam < 'a , IContinueCallback > , > ( & self , grfflags : u32 , pptd : * mut * mut DVTARGETDEVICE , pppageset : * mut * mut PAGESET , pstgmoptions : * mut STGMEDIUM , pcallback : T4__ , nfirstpage : i32 , pcpagesprinted : * mut i32 , pnlastpage : * mut i32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnfirstpage : * mut i32 , pcpages : * mut i32 , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProcessInitControl ( :: windows :: IUnknown ) ; impl IProcessInitControl { } 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 IProcessInitControl { pub unsafe fn ResetInitializerTimeout < > ( & self , dwsecondsremaining : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwsecondsremaining ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProcessLock ( :: windows :: IUnknown ) ; impl IProcessLock { } 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 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 { } 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 IProgressNotify { pub unsafe fn OnProgress < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , dwprogresscurrent : u32 , dwprogressmaximum : u32 , faccurate : T2__ , fowner : T3__ , ) -> :: windows :: ErrorCode { ( :: 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 ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , fowner : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyBag2 ( :: windows :: IUnknown ) ; impl IPropertyBag2 { } 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 IPropertyBag2 { pub unsafe fn CountProperties < > ( & self , pcproperties : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcproperties ) , ) } pub unsafe fn GetPropertyInfo < > ( & self , iproperty : u32 , cproperties : u32 , ppropbag : * mut PROPBAG2 , pcproperties : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcproperties : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iproperty : u32 , cproperties : u32 , ppropbag : * mut PROPBAG2 , pcproperties : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyNotifySink ( :: windows :: IUnknown ) ; impl IPropertyNotifySink { } 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 IPropertyNotifySink { pub unsafe fn OnChanged < > ( & self , dispid : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) } pub unsafe fn OnRequestEdit < > ( & self , dispid : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyPage ( :: windows :: IUnknown ) ; impl IPropertyPage { } 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 IPropertyPage { pub unsafe fn SetPageSite < 'a , T0__ : :: windows :: IntoParam < 'a , IPropertyPageSite > , > ( & self , ppagesite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ppagesite . into_param ( ) . abi ( ) , ) } pub unsafe fn Activate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , hwndparent : T0__ , prect : * mut super :: DisplayDevices :: RECT , bmodal : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwndparent . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( prect ) , bmodal . into_param ( ) . abi ( ) , ) } pub unsafe fn Deactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetPageInfo < > ( & self , ppageinfo : * mut PROPPAGEINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppageinfo ) , ) } pub unsafe fn SetObjects < > ( & self , cobjects : u32 , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cobjects ) , :: std :: mem :: transmute ( ppunk ) , ) } pub unsafe fn Show < > ( & self , ncmdshow : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ncmdshow ) , ) } pub unsafe fn Move < > ( & self , prect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , ) } pub unsafe fn IsPageDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Apply < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Help < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszhelpdir : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszhelpdir . into_param ( ) . abi ( ) , ) } pub unsafe fn TranslateAcceleratorA < > ( & self , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwndparent : super :: WindowsAndMessaging :: HWND , prect : * mut super :: DisplayDevices :: RECT , bmodal : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppageinfo : * mut PROPPAGEINFO , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cobjects : u32 , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ncmdshow : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszhelpdir : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyPage2 ( :: windows :: IUnknown ) ; impl IPropertyPage2 { } 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 IPropertyPage2 { pub unsafe fn SetPageSite < 'a , T0__ : :: windows :: IntoParam < 'a , IPropertyPageSite > , > ( & self , ppagesite : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ppagesite . into_param ( ) . abi ( ) , ) } pub unsafe fn Activate < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , hwndparent : T0__ , prect : * mut super :: DisplayDevices :: RECT , bmodal : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwndparent . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( prect ) , bmodal . into_param ( ) . abi ( ) , ) } pub unsafe fn Deactivate < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetPageInfo < > ( & self , ppageinfo : * mut PROPPAGEINFO , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppageinfo ) , ) } pub unsafe fn SetObjects < > ( & self , cobjects : u32 , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cobjects ) , :: std :: mem :: transmute ( ppunk ) , ) } pub unsafe fn Show < > ( & self , ncmdshow : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ncmdshow ) , ) } pub unsafe fn Move < > ( & self , prect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , ) } pub unsafe fn IsPageDirty < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Apply < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Help < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszhelpdir : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszhelpdir . into_param ( ) . abi ( ) , ) } pub unsafe fn TranslateAcceleratorA < > ( & self , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) } pub unsafe fn EditProperty < > ( & self , dispid : i32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwndparent : super :: WindowsAndMessaging :: HWND , prect : * mut super :: DisplayDevices :: RECT , bmodal : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppageinfo : * mut PROPPAGEINFO , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cobjects : u32 , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ncmdshow : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszhelpdir : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyPageSite ( :: windows :: IUnknown ) ; impl IPropertyPageSite { } 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 IPropertyPageSite { pub unsafe fn OnStatusChange < > ( & self , dwflags : IPropertyPageSite_OnStatusChangeFlags , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , ) } pub unsafe fn GetLocaleID < > ( & self , plocaleid : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plocaleid ) , ) } pub unsafe fn GetPageContainer < > ( & self , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppunk ) , ) } pub unsafe fn TranslateAcceleratorA < > ( & self , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) } } 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 :: ErrorCode , pub unsafe 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 : IPropertyPageSite_OnStatusChangeFlags , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plocaleid : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IPropertyPageSite_OnStatusChangeFlags ( pub u32 ) ; impl IPropertyPageSite_OnStatusChangeFlags { pub const PROPPAGESTATUS_DIRTY : Self = Self ( 1u32 ) ; pub const PROPPAGESTATUS_VALIDATE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for IPropertyPageSite_OnStatusChangeFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IPropertyPageSite_OnStatusChangeFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for IPropertyPageSite_OnStatusChangeFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for IPropertyPageSite_OnStatusChangeFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for IPropertyPageSite_OnStatusChangeFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for IPropertyPageSite_OnStatusChangeFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProtectFocus ( :: windows :: IUnknown ) ; impl IProtectFocus { } 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 IProtectFocus { pub unsafe fn AllowFocusChange < > ( & self , pfallow : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfallow ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProtectedModeMenuServices ( :: windows :: IUnknown ) ; impl IProtectedModeMenuServices { } 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 IProtectedModeMenuServices { pub unsafe fn CreateMenu < > ( & self , phmenu : * mut super :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phmenu ) , ) } pub unsafe fn LoadMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszmodulename : T0__ , pszmenuname : T1__ , phmenu : * mut super :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pszmodulename . into_param ( ) . abi ( ) , pszmenuname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phmenu ) , ) } pub unsafe fn LoadMenuID < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pszmodulename : T0__ , wresourceid : u16 , phmenu : * mut super :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pszmodulename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wresourceid ) , :: std :: mem :: transmute ( phmenu ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszmodulename : super :: SystemServices :: PWSTR , pszmenuname : super :: SystemServices :: PWSTR , phmenu : * mut super :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszmodulename : super :: SystemServices :: PWSTR , wresourceid : u16 , phmenu : * mut super :: MenusAndResources :: HMENU , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProvideClassInfo ( :: windows :: IUnknown ) ; impl IProvideClassInfo { } 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 IProvideClassInfo { pub unsafe fn GetClassInfo < > ( & self , ppti : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppti ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProvideClassInfo2 ( :: windows :: IUnknown ) ; impl IProvideClassInfo2 { } 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 IProvideClassInfo2 { pub unsafe fn GetClassInfo < > ( & self , ppti : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppti ) , ) } pub unsafe fn GetGUID < > ( & self , dwguidkind : u32 , pguid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwguidkind ) , :: std :: mem :: transmute ( pguid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwguidkind : u32 , pguid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProvideMultipleClassInfo ( :: windows :: IUnknown ) ; impl IProvideMultipleClassInfo { } 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 IProvideMultipleClassInfo { pub unsafe fn GetClassInfo < > ( & self , ppti : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppti ) , ) } pub unsafe fn GetGUID < > ( & self , dwguidkind : u32 , pguid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwguidkind ) , :: std :: mem :: transmute ( pguid ) , ) } pub unsafe fn GetMultiTypeInfoCount < > ( & self , pcti : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcti ) , ) } pub unsafe fn GetInfoOfIndex < > ( & self , iti : u32 , dwflags : IProvideMultipleClassInfo_GetInfoOfIndexFlags , ppticoclass : * mut :: std :: option :: Option < super :: Automation :: ITypeInfo > , pdwtiflags : * mut u32 , pcdispidreserved : * mut u32 , piidprimary : * mut :: windows :: Guid , piidsource : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwguidkind : u32 , pguid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcti : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iti : u32 , dwflags : IProvideMultipleClassInfo_GetInfoOfIndexFlags , ppticoclass : * mut :: windows :: RawPtr , pdwtiflags : * mut u32 , pcdispidreserved : * mut u32 , piidprimary : * mut :: windows :: Guid , piidsource : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IProvideMultipleClassInfo_GetInfoOfIndexFlags ( pub u32 ) ; impl IProvideMultipleClassInfo_GetInfoOfIndexFlags { pub const MULTICLASSINFO_GETTYPEINFO : Self = Self ( 1u32 ) ; pub const MULTICLASSINFO_GETNUMRESERVEDDISPIDS : Self = Self ( 2u32 ) ; pub const MULTICLASSINFO_GETIIDPRIMARY : Self = Self ( 4u32 ) ; pub const MULTICLASSINFO_GETIIDSOURCE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for IProvideMultipleClassInfo_GetInfoOfIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IProvideMultipleClassInfo_GetInfoOfIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for IProvideMultipleClassInfo_GetInfoOfIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for IProvideMultipleClassInfo_GetInfoOfIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for IProvideMultipleClassInfo_GetInfoOfIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for IProvideMultipleClassInfo_GetInfoOfIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IQuickActivate ( :: windows :: IUnknown ) ; impl IQuickActivate { } 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 IQuickActivate { pub unsafe fn QuickActivate < > ( & self , pqacontainer : * mut QACONTAINER , pqacontrol : * mut QACONTROL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pqacontainer ) , :: std :: mem :: transmute ( pqacontrol ) , ) } pub unsafe fn SetContentExtent < > ( & self , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( psizel ) , ) } pub unsafe fn GetContentExtent < > ( & self , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( psizel ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IROTData ( :: windows :: IUnknown ) ; impl IROTData { } 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 IROTData { pub unsafe fn GetComparisonData < > ( & self , pbdata : * mut u8 , cbmax : u32 , pcbdata : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbdata ) , :: std :: mem :: transmute ( cbmax ) , :: std :: mem :: transmute ( pcbdata ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IReleaseMarshalBuffers ( :: windows :: IUnknown ) ; impl IReleaseMarshalBuffers { } 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 IReleaseMarshalBuffers { pub unsafe fn ReleaseMarshalBuffer < 'a , T2__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pmsg : * mut RPCOLEMESSAGE , dwflags : u32 , pchnl : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( dwflags ) , pchnl . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcChannelBuffer3 ( :: windows :: IUnknown ) ; impl IRpcChannelBuffer3 { } 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 IRpcChannelBuffer3 { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetProtocolVersion < > ( & self , pdwversion : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwversion ) , ) } pub unsafe fn Send < > ( & self , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pulstatus ) , ) } pub unsafe fn Receive < > ( & self , pmsg : * mut RPCOLEMESSAGE , ulsize : u32 , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( ulsize ) , :: std :: mem :: transmute ( pulstatus ) , ) } pub unsafe fn Cancel < > ( & self , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) } pub unsafe fn GetCallContext < > ( & self , pmsg : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , pinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pinterface ) , ) } pub unsafe fn GetDestCtxEx < > ( & self , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) } pub unsafe fn GetState < > ( & self , pmsg : * mut RPCOLEMESSAGE , pstate : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pstate ) , ) } pub unsafe fn RegisterAsync < 'a , T1__ : :: windows :: IntoParam < 'a , IAsyncManager > , > ( & self , pmsg : * mut RPCOLEMESSAGE , pasyncmgr : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , pasyncmgr . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwversion : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , ulsize : u32 , pulstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , pinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pstate : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pasyncmgr : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcHelper ( :: windows :: IUnknown ) ; impl IRpcHelper { } 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 IRpcHelper { pub unsafe fn GetDCOMProtocolVersion < > ( & self , pcomversion : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcomversion ) , ) } pub unsafe fn GetIIDFromOBJREF < > ( & self , pobjref : * mut :: std :: ffi :: c_void , piid : * mut * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pobjref ) , :: std :: mem :: transmute ( piid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pobjref : * mut :: std :: ffi :: c_void , piid : * mut * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcOptions ( :: windows :: IUnknown ) ; impl IRpcOptions { } 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 IRpcOptions { pub unsafe fn Set < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pprx : T0__ , dwproperty : RPCOPT_PROPERTIES , dwvalue : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pprx . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwproperty ) , :: std :: mem :: transmute ( dwvalue ) , ) } pub unsafe fn Query < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , pprx : T0__ , dwproperty : RPCOPT_PROPERTIES , pdwvalue : * mut usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pprx . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwproperty ) , :: std :: mem :: transmute ( pdwvalue ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprx : :: windows :: RawPtr , dwproperty : RPCOPT_PROPERTIES , pdwvalue : * mut usize , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcProxyBuffer ( :: windows :: IUnknown ) ; impl IRpcProxyBuffer { } 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 IRpcProxyBuffer { pub unsafe fn Connect < 'a , T0__ : :: windows :: IntoParam < 'a , IRpcChannelBuffer > , > ( & self , prpcchannelbuffer : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , prpcchannelbuffer . into_param ( ) . abi ( ) , ) } pub unsafe fn Disconnect < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , 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 { } 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 IRpcStubBuffer { pub unsafe fn Connect < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( & self , punkserver : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkserver . into_param ( ) . abi ( ) , ) } pub unsafe fn Disconnect < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Invoke < 'a , T1__ : :: windows :: IntoParam < 'a , IRpcChannelBuffer > , > ( & self , _prpcmsg : * mut RPCOLEMESSAGE , _prpcchannelbuffer : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( _prpcmsg ) , _prpcchannelbuffer . into_param ( ) . abi ( ) , ) } 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 :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppv ) , ) } pub unsafe fn DebugServerRelease < > ( & self , pv : * mut :: std :: ffi :: c_void , ) { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , _prpcmsg : * mut RPCOLEMESSAGE , _prpcchannelbuffer : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , 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 :: ErrorCode , 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 { } 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 IRpcSyntaxNegotiate { pub unsafe fn NegotiateSyntax < > ( & self , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRunnableObject ( :: windows :: IUnknown ) ; impl IRunnableObject { } 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 IRunnableObject { pub unsafe fn GetRunningClass < > ( & self , lpclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpclsid ) , ) } pub unsafe fn Run < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pbc : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , ) } pub unsafe fn IsRunning < > ( & self , ) -> super :: SystemServices :: BOOL { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn LockRunning < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , flock : T0__ , flastunlockcloses : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , flastunlockcloses . into_param ( ) . abi ( ) , ) } pub unsafe fn SetContainedObject < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( & self , fcontained : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , fcontained . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> super :: SystemServices :: BOOL , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super :: SystemServices :: BOOL , flastunlockcloses : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fcontained : super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IServerSecurity ( :: windows :: IUnknown ) ; impl IServerSecurity { } 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 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 :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn ImpersonateClient < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn RevertToSelf < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn IsImpersonating < > ( & self , ) -> super :: SystemServices :: BOOL { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> super :: SystemServices :: BOOL , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISimpleFrameSite ( :: windows :: IUnknown ) ; impl ISimpleFrameSite { } 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 ISimpleFrameSite { pub unsafe fn PreMessageFilter < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: WPARAM > , T3__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: LPARAM > , > ( & self , hwnd : T0__ , msg : u32 , wp : T2__ , lp : T3__ , plresult : * mut super :: SystemServices :: LRESULT , pdwcookie : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn PostMessageFilter < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: WPARAM > , T3__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: LPARAM > , > ( & self , hwnd : T0__ , msg : u32 , wp : T2__ , lp : T3__ , plresult : * mut super :: SystemServices :: LRESULT , dwcookie : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: WindowsAndMessaging :: HWND , msg : u32 , wp : super :: WindowsAndMessaging :: WPARAM , lp : super :: WindowsAndMessaging :: LPARAM , plresult : * mut super :: SystemServices :: LRESULT , pdwcookie : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super :: WindowsAndMessaging :: HWND , msg : u32 , wp : super :: WindowsAndMessaging :: WPARAM , lp : super :: WindowsAndMessaging :: LPARAM , plresult : * mut super :: SystemServices :: LRESULT , dwcookie : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISoftDistExt ( :: windows :: IUnknown ) ; impl ISoftDistExt { } 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 ISoftDistExt { pub unsafe fn GetFirstCodeBase < > ( & self , szcodebase : * mut super :: SystemServices :: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( szcodebase ) , :: std :: mem :: transmute ( dwmaxsize ) , ) } pub unsafe fn GetNextCodeBase < > ( & self , szcodebase : * mut super :: SystemServices :: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( szcodebase ) , :: std :: mem :: transmute ( dwmaxsize ) , ) } pub unsafe fn AsyncInstallDistributionUnit < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , pbc : T0__ , pvreserved : * mut :: std :: ffi :: c_void , flags : u32 , lpcbh : * mut CODEBASEHOLD , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , szcodebase : * mut super :: SystemServices :: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , szcodebase : * mut super :: SystemServices :: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pvreserved : * mut :: std :: ffi :: c_void , flags : u32 , lpcbh : * mut CODEBASEHOLD , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpecifyPropertyPages ( :: windows :: IUnknown ) ; impl ISpecifyPropertyPages { } 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 ISpecifyPropertyPages { pub unsafe fn GetPages < > ( & self , ppages : * mut CAUUID , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppages ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IStdMarshalInfo ( :: windows :: IUnknown ) ; impl IStdMarshalInfo { } 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 IStdMarshalInfo { pub unsafe fn GetClassForHandler < > ( & self , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , pclsid : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( pclsid ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISurrogateService ( :: windows :: IUnknown ) ; impl ISurrogateService { } 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 ISurrogateService { pub unsafe fn Init < 'a , T1__ : :: windows :: IntoParam < 'a , IProcessLock > , > ( & self , rguidprocessid : * const :: windows :: Guid , pprocesslock : T1__ , pfapplicationaware : * mut super :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidprocessid ) , pprocesslock . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfapplicationaware ) , ) } pub unsafe fn ApplicationLaunch < > ( & self , rguidapplid : * const :: windows :: Guid , apptype : ApplicationType , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidapplid ) , :: std :: mem :: transmute ( apptype ) , ) } pub unsafe fn ApplicationFree < > ( & self , rguidapplid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidapplid ) , ) } pub unsafe fn CatalogRefresh < > ( & self , ulreserved : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulreserved ) , ) } pub unsafe fn ProcessShutdown < > ( & self , shutdowntype : ShutdownType , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( shutdowntype ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: BOOL , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rguidapplid : * const :: windows :: Guid , apptype : ApplicationType , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rguidapplid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulreserved : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , shutdowntype : ShutdownType , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronize ( :: windows :: IUnknown ) ; impl ISynchronize { } 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 ISynchronize { pub unsafe fn Wait < > ( & self , dwflags : u32 , dwmilliseconds : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwmilliseconds ) , ) } pub unsafe fn Signal < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeContainer ( :: windows :: IUnknown ) ; impl ISynchronizeContainer { } 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 ISynchronizeContainer { pub unsafe fn AddSynchronize < 'a , T0__ : :: windows :: IntoParam < 'a , ISynchronize > , > ( & self , psync : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psync . into_param ( ) . abi ( ) , ) } pub unsafe fn WaitMultiple < > ( & self , dwflags : u32 , dwtimeout : u32 , ppsync : * mut :: std :: option :: Option < ISynchronize > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwtimeout ) , :: std :: mem :: transmute ( ppsync ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwflags : u32 , dwtimeout : u32 , ppsync : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeHandle ( :: windows :: IUnknown ) ; impl ISynchronizeHandle { } 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 ISynchronizeHandle { pub unsafe fn GetHandle < > ( & self , ph : * mut super :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ph ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeEvent ( :: windows :: IUnknown ) ; impl ISynchronizeEvent { } 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 ISynchronizeEvent { pub unsafe fn GetHandle < > ( & self , ph : * mut super :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ph ) , ) } pub unsafe fn SetEventHandle < > ( & self , ph : * mut super :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ph ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ph : * mut super :: SystemServices :: HANDLE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeMutex ( :: windows :: IUnknown ) ; impl ISynchronizeMutex { } 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 ISynchronizeMutex { pub unsafe fn Wait < > ( & self , dwflags : u32 , dwmilliseconds : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwmilliseconds ) , ) } pub unsafe fn Signal < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn ReleaseMutex < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IThumbnailExtractor ( :: windows :: IUnknown ) ; impl IThumbnailExtractor { } 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 IThumbnailExtractor { pub unsafe fn ExtractThumbnail < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( & self , pstg : T0__ , ullength : u32 , ulheight : u32 , puloutputlength : * mut u32 , puloutputheight : * mut u32 , phoutputbitmap : * mut super :: Gdi :: HBITMAP , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn OnFileUpdated < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( & self , pstg : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: Gdi :: HBITMAP , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ITimeAndNoticeControl ( :: windows :: IUnknown ) ; impl ITimeAndNoticeControl { } 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 ITimeAndNoticeControl { pub unsafe fn SuppressChanges < > ( & self , res1 : u32 , res2 : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( res1 ) , :: std :: mem :: transmute ( res2 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUriBuilderFactory ( :: windows :: IUnknown ) ; impl IUriBuilderFactory { } 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 IUriBuilderFactory { pub unsafe fn CreateIUriBuilder < > ( & self , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: std :: option :: Option < IUriBuilder > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( ppiuribuilder ) , ) } pub unsafe fn CreateInitializedIUriBuilder < > ( & self , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: std :: option :: Option < IUriBuilder > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( ppiuribuilder ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUriContainer ( :: windows :: IUnknown ) ; impl IUriContainer { } 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 IUriContainer { pub unsafe fn GetIUri < > ( & self , ppiuri : * mut :: std :: option :: Option < IUri > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppiuri ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUrlMon ( :: windows :: IUnknown ) ; impl IUrlMon { } 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 IUrlMon { pub unsafe fn AsyncGetClassBits < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T6__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( & self , rclsid : * const :: windows :: Guid , psztype : T1__ , pszext : T2__ , dwfileversionms : u32 , dwfileversionls : u32 , pszcodebase : T5__ , pbc : T6__ , dwclasscontext : u32 , riid : * const :: windows :: Guid , flags : u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pszext : super :: SystemServices :: PWSTR , dwfileversionms : u32 , dwfileversionls : u32 , pszcodebase : super :: SystemServices :: PWSTR , pbc : :: windows :: RawPtr , dwclasscontext : u32 , riid : * const :: windows :: Guid , flags : u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IVBFormat ( :: windows :: IUnknown ) ; impl IVBFormat { } 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 IVBFormat { } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IVBGetControl ( :: windows :: IUnknown ) ; impl IVBGetControl { } 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 IVBGetControl { pub unsafe fn EnumControls < > ( & self , dwolecontf : u32 , dwwhich : IVBGetControl_EnumControls_dwWhichFlags , ppenumunk : * mut :: std :: option :: Option < IEnumUnknown > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwolecontf ) , :: std :: mem :: transmute ( dwwhich ) , :: std :: mem :: transmute ( ppenumunk ) , ) } } 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 :: ErrorCode , pub unsafe 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 : u32 , dwwhich : IVBGetControl_EnumControls_dwWhichFlags , ppenumunk : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IVBGetControl_EnumControls_dwWhichFlags ( pub u32 ) ; impl IVBGetControl_EnumControls_dwWhichFlags { pub const GCW_WCH_SIBLING : Self = Self ( 1u32 ) ; pub const GC_WCH_CONTAINER : Self = Self ( 2u32 ) ; pub const GC_WCH_CONTAINED : Self = Self ( 3u32 ) ; pub const GC_WCH_ALL : Self = Self ( 4u32 ) ; pub const GC_WCH_FREVERSEDIR : Self = Self ( 134217728u32 ) ; pub const GC_WCH_FONLYAFTER : Self = Self ( 268435456u32 ) ; pub const GC_WCH_FONLYBEFORE : Self = Self ( 536870912u32 ) ; pub const GC_WCH_FSELECTED : Self = Self ( 1073741824u32 ) ; } impl :: std :: convert :: From < u32 > for IVBGetControl_EnumControls_dwWhichFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IVBGetControl_EnumControls_dwWhichFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for IVBGetControl_EnumControls_dwWhichFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for IVBGetControl_EnumControls_dwWhichFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for IVBGetControl_EnumControls_dwWhichFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for IVBGetControl_EnumControls_dwWhichFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IViewObject ( :: windows :: IUnknown ) ; impl IViewObject { } 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 IViewObject { pub unsafe fn GetColorSet < 'a , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : T4__ , ppcolorset : * mut * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Freeze < > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Unfreeze < > ( & self , dwfreeze : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwfreeze ) , ) } pub unsafe fn SetAdvise < 'a , T2__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , aspects : u32 , advf : u32 , padvsink : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( aspects ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , ) } pub unsafe fn GetAdvise < > ( & self , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: std :: option :: Option < IAdviseSink > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( paspects ) , :: std :: mem :: transmute ( padvf ) , :: std :: mem :: transmute ( ppadvsink ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : super :: Gdi :: HDC , ppcolorset : * mut * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwfreeze : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , aspects : u32 , advf : u32 , padvsink : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IViewObject2 ( :: windows :: IUnknown ) ; impl IViewObject2 { } 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 IViewObject2 { pub unsafe fn GetColorSet < 'a , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : T4__ , ppcolorset : * mut * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Freeze < > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Unfreeze < > ( & self , dwfreeze : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwfreeze ) , ) } pub unsafe fn SetAdvise < 'a , T2__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , aspects : u32 , advf : u32 , padvsink : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( aspects ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , ) } pub unsafe fn GetAdvise < > ( & self , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: std :: option :: Option < IAdviseSink > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( paspects ) , :: std :: mem :: transmute ( padvf ) , :: std :: mem :: transmute ( ppadvsink ) , ) } pub unsafe fn GetExtent < > ( & self , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , lpsizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( ptd ) , :: std :: mem :: transmute ( lpsizel ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : super :: Gdi :: HDC , ppcolorset : * mut * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwfreeze : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , aspects : u32 , advf : u32 , padvsink : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , lpsizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IViewObjectEx ( :: windows :: IUnknown ) ; impl IViewObjectEx { } 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 IViewObjectEx { pub unsafe fn GetColorSet < 'a , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : T4__ , ppcolorset : * mut * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Freeze < > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Unfreeze < > ( & self , dwfreeze : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwfreeze ) , ) } pub unsafe fn SetAdvise < 'a , T2__ : :: windows :: IntoParam < 'a , IAdviseSink > , > ( & self , aspects : u32 , advf : u32 , padvsink : T2__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( aspects ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , ) } pub unsafe fn GetAdvise < > ( & self , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: std :: option :: Option < IAdviseSink > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( paspects ) , :: std :: mem :: transmute ( padvf ) , :: std :: mem :: transmute ( ppadvsink ) , ) } pub unsafe fn GetExtent < > ( & self , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , lpsizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( ptd ) , :: std :: mem :: transmute ( lpsizel ) , ) } pub unsafe fn GetViewStatus < > ( & self , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwstatus ) , ) } pub unsafe fn QueryHitPoint < 'a , T2__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( & self , dwaspect : u32 , prectbounds : * mut super :: DisplayDevices :: RECT , ptlloc : T2__ , lclosehint : i32 , phitresult : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( phitresult ) , ) } pub unsafe fn QueryHitRect < > ( & self , dwaspect : u32 , prectbounds : * mut super :: DisplayDevices :: RECT , prectloc : * mut super :: DisplayDevices :: RECT , lclosehint : i32 , phitresult : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( phitresult ) , ) } pub unsafe fn GetNaturalExtent < 'a , T3__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( & self , dwaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , hictargetdev : T3__ , pextentinfo : * mut ExtentInfo , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode { ( :: 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 ) , :: std :: mem :: transmute ( psizel ) , ) } } 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : super :: Gdi :: HDC , ppcolorset : * mut * mut super :: Gdi :: LOGPALETTE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwfreeze : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , aspects : u32 , advf : u32 , padvsink : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , lpsizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , prectbounds : * mut super :: DisplayDevices :: RECT , ptlloc : super :: DisplayDevices :: POINT , lclosehint : i32 , phitresult : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , prectbounds : * mut super :: DisplayDevices :: RECT , prectloc : * mut super :: DisplayDevices :: RECT , lclosehint : i32 , phitresult : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , hictargetdev : super :: Gdi :: HDC , pextentinfo : * mut ExtentInfo , psizel : * mut super :: DisplayDevices :: SIZE , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWaitMultiple ( :: windows :: IUnknown ) ; impl IWaitMultiple { } 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 IWaitMultiple { pub unsafe fn WaitMultiple < > ( & self , timeout : u32 , psync : * mut :: std :: option :: Option < ISynchronize > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( timeout ) , :: std :: mem :: transmute ( psync ) , ) } pub unsafe fn AddSynchronize < 'a , T0__ : :: windows :: IntoParam < 'a , ISynchronize > , > ( & self , psync : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , psync . into_param ( ) . abi ( ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psync : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetCacheHints ( :: windows :: IUnknown ) ; impl IWinInetCacheHints { } 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 IWinInetCacheHints { pub unsafe fn SetCacheExtension < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzext : T0__ , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetCacheHints2 ( :: windows :: IUnknown ) ; impl IWinInetCacheHints2 { } 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 IWinInetCacheHints2 { pub unsafe fn SetCacheExtension < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzext : T0__ , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn SetCacheExtension2 < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwzext : T0__ , pwzcachefile : super :: SystemServices :: PWSTR , pcchcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzext : super :: SystemServices :: PWSTR , pwzcachefile : super :: SystemServices :: PWSTR , pcchcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetFileStream ( :: windows :: IUnknown ) ; impl IWinInetFileStream { } 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 IWinInetFileStream { pub unsafe fn SetHandleForUnlock < > ( & self , hwininetlockhandle : usize , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hwininetlockhandle ) , :: std :: mem :: transmute ( dwreserved ) , ) } pub unsafe fn SetDeleteFile < > ( & self , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : usize , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetInfo ( :: windows :: IUnknown ) ; impl IWinInetInfo { } 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 IWinInetInfo { pub unsafe fn QueryOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( pcbbuf ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetHttpInfo ( :: windows :: IUnknown ) ; impl IWinInetHttpInfo { } 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 IWinInetHttpInfo { pub unsafe fn QueryOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( pcbbuf ) , ) } pub unsafe fn QueryInfo < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , pdwflags : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetHttpTimeouts ( :: windows :: IUnknown ) ; impl IWinInetHttpTimeouts { } 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 IWinInetHttpTimeouts { pub unsafe fn GetRequestTimeouts < > ( & self , pdwconnecttimeout : * mut u32 , pdwsendtimeout : * mut u32 , pdwreceivetimeout : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwconnecttimeout ) , :: std :: mem :: transmute ( pdwsendtimeout ) , :: std :: mem :: transmute ( pdwreceivetimeout ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWrappedProtocol ( :: windows :: IUnknown ) ; impl IWrappedProtocol { } 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 IWrappedProtocol { pub unsafe fn GetWrapperCode < > ( & self , pncode : * mut i32 , dwreserved : usize , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pncode ) , :: std :: mem :: transmute ( dwreserved ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IZoneIdentifier ( :: windows :: IUnknown ) ; impl IZoneIdentifier { } 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 IZoneIdentifier { pub unsafe fn GetId < > ( & self , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwzone ) , ) } pub unsafe fn SetId < > ( & self , dwzone : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , ) } pub unsafe fn Remove < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IZoneIdentifier2 ( :: windows :: IUnknown ) ; impl IZoneIdentifier2 { } 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 IZoneIdentifier2 { pub unsafe fn GetId < > ( & self , pdwzone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwzone ) , ) } pub unsafe fn SetId < > ( & self , dwzone : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , ) } pub unsafe fn Remove < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetLastWriterPackageFamilyName < > ( & self , packagefamilyname : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( packagefamilyname ) , ) } pub unsafe fn SetLastWriterPackageFamilyName < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , packagefamilyname : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , packagefamilyname . into_param ( ) . abi ( ) , ) } pub unsafe fn RemoveLastWriterPackageFamilyName < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn GetAppZoneId < > ( & self , zone : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( zone ) , ) } pub unsafe fn SetAppZoneId < > ( & self , zone : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( zone ) , ) } pub unsafe fn RemoveAppZoneId < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , packagefamilyname : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , packagefamilyname : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , zone : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , zone : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IZoomEvents ( :: windows :: IUnknown ) ; impl IZoomEvents { } 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 IZoomEvents { pub unsafe fn OnZoomPercentChanged < > ( & self , ulzoompercent : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulzoompercent ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; pub unsafe fn IsAccelerator < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccel : T0__ , caccelentries : i32 , lpmsg : * mut super :: WindowsAndMessaging :: MSG , lpwcmd : * mut u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsAsyncMoniker < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , > ( pmk : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsLoggingEnabledA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( pszurl : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsLoggingEnabledW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pwszurl : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsValidURL < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pbc : T0__ , szurl : T1__ , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LICINFO { pub cbLicInfo : i32 , pub fRuntimeKeyAvail : super :: SystemServices :: BOOL , pub fLicVerified : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbLicInfo ) ) . field ( "fRuntimeKeyAvail" , & format_args ! ( "{:?}" , self . fRuntimeKeyAvail ) ) . field ( "fLicVerified" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "pData" , & format_args ! ( "{:?}" , 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 ; } pub type LPFNCANUNLOADNOW = extern "system" fn ( ) -> :: windows :: ErrorCode ; pub type LPFNGETCLASSOBJECT = extern "system" fn ( param0 : * const :: windows :: Guid , param1 : * const :: windows :: Guid , param2 : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: ErrorCode ; pub type LPFNOLEUIHOOK = extern "system" fn ( param0 : super :: WindowsAndMessaging :: HWND , param1 : u32 , param2 : super :: WindowsAndMessaging :: WPARAM , param3 : super :: WindowsAndMessaging :: 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 ) ; impl MEDIAPLAYBACK_STATE { pub const MEDIAPLAYBACK_RESUME : Self = Self ( 0i32 ) ; pub const MEDIAPLAYBACK_PAUSE : Self = Self ( 1i32 ) ; pub const MEDIAPLAYBACK_PAUSE_AND_SUSPEND : Self = Self ( 2i32 ) ; pub const MEDIAPLAYBACK_RESUME_FROM_SUSPEND : Self = Self ( 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 ; } # [ 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 ) ; impl MEMCTX { pub const MEMCTX_TASK : Self = Self ( 1i32 ) ; pub const MEMCTX_SHARED : Self = Self ( 2i32 ) ; pub const MEMCTX_MACSYSTEM : Self = Self ( 3i32 ) ; pub const MEMCTX_UNKNOWN : Self = Self ( -1i32 ) ; pub const MEMCTX_SAME : Self = Self ( -2i32 ) ; } impl :: std :: convert :: From < i32 > for MEMCTX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEMCTX { type Abi = 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 ) ; impl MKREDUCE { pub const MKRREDUCE_ONE : Self = Self ( 196608i32 ) ; pub const MKRREDUCE_TOUSER : Self = Self ( 131072i32 ) ; pub const MKRREDUCE_THROUGHUSER : Self = Self ( 65536i32 ) ; pub const MKRREDUCE_ALL : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for MKREDUCE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MKREDUCE { type Abi = 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 ) ; impl MKSYS { pub const MKSYS_NONE : Self = Self ( 0i32 ) ; pub const MKSYS_GENERICCOMPOSITE : Self = Self ( 1i32 ) ; pub const MKSYS_FILEMONIKER : Self = Self ( 2i32 ) ; pub const MKSYS_ANTIMONIKER : Self = Self ( 3i32 ) ; pub const MKSYS_ITEMMONIKER : Self = Self ( 4i32 ) ; pub const MKSYS_POINTERMONIKER : Self = Self ( 5i32 ) ; pub const MKSYS_CLASSMONIKER : Self = Self ( 7i32 ) ; pub const MKSYS_OBJREFMONIKER : Self = Self ( 8i32 ) ; pub const MKSYS_SESSIONMONIKER : Self = Self ( 9i32 ) ; pub const MKSYS_LUAMONIKER : Self = Self ( 10i32 ) ; } impl :: std :: convert :: From < i32 > for MKSYS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MKSYS { type Abi = Self ; } pub const MKSYS_URLMONIKER : u32 = 6u32 ; pub const MK_ALT : u32 = 32u32 ; pub const MK_S_ASYNCHRONOUS : :: windows :: ErrorCode = :: windows :: ErrorCode ( 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 ) ; impl MONIKERPROPERTY { pub const MIMETYPEPROP : Self = Self ( 0i32 ) ; pub const USE_SRC_URL : Self = Self ( 1i32 ) ; pub const CLASSIDPROP : Self = Self ( 2i32 ) ; pub const TRUSTEDDOWNLOADPROP : Self = Self ( 3i32 ) ; pub const POPUPLEVELPROP : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for MONIKERPROPERTY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MONIKERPROPERTY { type Abi = 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 ) ; impl MSHCTX { pub const MSHCTX_LOCAL : Self = Self ( 0i32 ) ; pub const MSHCTX_NOSHAREDMEM : Self = Self ( 1i32 ) ; pub const MSHCTX_DIFFERENTMACHINE : Self = Self ( 2i32 ) ; pub const MSHCTX_INPROC : Self = Self ( 3i32 ) ; pub const MSHCTX_CROSSCTX : Self = Self ( 4i32 ) ; pub const MSHCTX_RESERVED1 : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for MSHCTX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MSHCTX { type Abi = 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 ) ; impl MSHLFLAGS { pub const MSHLFLAGS_NORMAL : Self = Self ( 0i32 ) ; pub const MSHLFLAGS_TABLESTRONG : Self = Self ( 1i32 ) ; pub const MSHLFLAGS_TABLEWEAK : Self = Self ( 2i32 ) ; pub const MSHLFLAGS_NOPING : Self = Self ( 4i32 ) ; pub const MSHLFLAGS_RESERVED1 : Self = Self ( 8i32 ) ; pub const MSHLFLAGS_RESERVED2 : Self = Self ( 16i32 ) ; pub const MSHLFLAGS_RESERVED3 : Self = Self ( 32i32 ) ; pub const MSHLFLAGS_RESERVED4 : Self = Self ( 64i32 ) ; } impl :: std :: convert :: From < i32 > for MSHLFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MSHLFLAGS { type Abi = 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 , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pbc : T0__ , szusername : T1__ , pcheaten : * mut u32 , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MkParseDisplayNameEx < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pbc : T0__ , szdisplayname : T1__ , pcheaten : * mut u32 , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MonikerCommonPrefixWith < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , > ( pmkthis : T0__ , pmkother : T1__ , ppmkcommon : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MonikerRelativePathTo < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T1__ : :: windows :: IntoParam < 'a , IMoniker > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pmksrc : T0__ , pmkdest : T1__ , ppmkrelpath : * mut :: std :: option :: Option < IMoniker > , dwreserved : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OBJECTDESCRIPTOR { pub cbSize : u32 , pub clsid : :: windows :: Guid , pub dwDrawAspect : u32 , pub sizel : super :: DisplayDevices :: SIZE , pub pointl : super :: DisplayDevices :: 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "dwDrawAspect" , & format_args ! ( "{:?}" , self . dwDrawAspect ) ) . field ( "sizel" , & format_args ! ( "{:?}" , self . sizel ) ) . field ( "pointl" , & format_args ! ( "{:?}" , self . pointl ) ) . field ( "dwStatus" , & format_args ! ( "{:?}" , self . dwStatus ) ) . field ( "dwFullUserTypeName" , & format_args ! ( "{:?}" , self . dwFullUserTypeName ) ) . field ( "dwSrcOfCopy" , & format_args ! ( "{:?}" , 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 ; } pub const OCM__BASE : u32 = 8192u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OCPFIPARAMS { pub cbStructSize : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub x : i32 , pub y : i32 , pub lpszCaption : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStructSize ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "cObjects" , & format_args ! ( "{:?}" , self . cObjects ) ) . field ( "lplpUnk" , & format_args ! ( "{:?}" , self . lplpUnk ) ) . field ( "cPages" , & format_args ! ( "{:?}" , self . cPages ) ) . field ( "lpPages" , & format_args ! ( "{:?}" , self . lpPages ) ) . field ( "lcid" , & format_args ! ( "{:?}" , self . lcid ) ) . field ( "dispidInitialProperty" , & format_args ! ( "{:?}" , 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 ; } 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 ) ; impl OIBDG_FLAGS { pub const OIBDG_APARTMENTTHREADED : Self = Self ( 256i32 ) ; pub const OIBDG_DATAONLY : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OIFI { pub cb : u32 , pub fMDIApp : super :: SystemServices :: BOOL , pub hwndFrame : super :: WindowsAndMessaging :: HWND , pub haccel : super :: MenusAndResources :: 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" , & format_args ! ( "{:?}" , self . cb ) ) . field ( "fMDIApp" , & format_args ! ( "{:?}" , self . fMDIApp ) ) . field ( "hwndFrame" , & format_args ! ( "{:?}" , self . hwndFrame ) ) . field ( "haccel" , & format_args ! ( "{:?}" , self . haccel ) ) . field ( "cAccelEntries" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl OLECLOSE { pub const OLECLOSE_SAVEIFDIRTY : Self = Self ( 0i32 ) ; pub const OLECLOSE_NOSAVE : Self = Self ( 1i32 ) ; pub const OLECLOSE_PROMPTSAVE : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for OLECLOSE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECLOSE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cmdID ) ) . field ( "cmdf" , & format_args ! ( "{:?}" , 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 ; } 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 :: ErrorCode = :: windows :: ErrorCode ( -2147221245i32 as _ ) ; pub const OLECMDERR_E_DISABLED : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147221247i32 as _ ) ; pub const OLECMDERR_E_FIRST : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147221248i32 as _ ) ; pub const OLECMDERR_E_NOHELP : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147221246i32 as _ ) ; pub const OLECMDERR_E_UNKNOWNGROUP : :: windows :: ErrorCode = :: windows :: ErrorCode ( -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 ) ; impl OLECMDEXECOPT { pub const OLECMDEXECOPT_DODEFAULT : Self = Self ( 0i32 ) ; pub const OLECMDEXECOPT_PROMPTUSER : Self = Self ( 1i32 ) ; pub const OLECMDEXECOPT_DONTPROMPTUSER : Self = Self ( 2i32 ) ; pub const OLECMDEXECOPT_SHOWHELP : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for OLECMDEXECOPT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDEXECOPT { type Abi = 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 ) ; impl OLECMDF { pub const OLECMDF_SUPPORTED : Self = Self ( 1i32 ) ; pub const OLECMDF_ENABLED : Self = Self ( 2i32 ) ; pub const OLECMDF_LATCHED : Self = Self ( 4i32 ) ; pub const OLECMDF_NINCHED : Self = Self ( 8i32 ) ; pub const OLECMDF_INVISIBLE : Self = Self ( 16i32 ) ; pub const OLECMDF_DEFHIDEONCTXTMENU : Self = Self ( 32i32 ) ; } impl :: std :: convert :: From < i32 > for OLECMDF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDF { type Abi = 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 ) ; impl OLECMDID { pub const OLECMDID_OPEN : Self = Self ( 1i32 ) ; pub const OLECMDID_NEW : Self = Self ( 2i32 ) ; pub const OLECMDID_SAVE : Self = Self ( 3i32 ) ; pub const OLECMDID_SAVEAS : Self = Self ( 4i32 ) ; pub const OLECMDID_SAVECOPYAS : Self = Self ( 5i32 ) ; pub const OLECMDID_PRINT : Self = Self ( 6i32 ) ; pub const OLECMDID_PRINTPREVIEW : Self = Self ( 7i32 ) ; pub const OLECMDID_PAGESETUP : Self = Self ( 8i32 ) ; pub const OLECMDID_SPELL : Self = Self ( 9i32 ) ; pub const OLECMDID_PROPERTIES : Self = Self ( 10i32 ) ; pub const OLECMDID_CUT : Self = Self ( 11i32 ) ; pub const OLECMDID_COPY : Self = Self ( 12i32 ) ; pub const OLECMDID_PASTE : Self = Self ( 13i32 ) ; pub const OLECMDID_PASTESPECIAL : Self = Self ( 14i32 ) ; pub const OLECMDID_UNDO : Self = Self ( 15i32 ) ; pub const OLECMDID_REDO : Self = Self ( 16i32 ) ; pub const OLECMDID_SELECTALL : Self = Self ( 17i32 ) ; pub const OLECMDID_CLEARSELECTION : Self = Self ( 18i32 ) ; pub const OLECMDID_ZOOM : Self = Self ( 19i32 ) ; pub const OLECMDID_GETZOOMRANGE : Self = Self ( 20i32 ) ; pub const OLECMDID_UPDATECOMMANDS : Self = Self ( 21i32 ) ; pub const OLECMDID_REFRESH : Self = Self ( 22i32 ) ; pub const OLECMDID_STOP : Self = Self ( 23i32 ) ; pub const OLECMDID_HIDETOOLBARS : Self = Self ( 24i32 ) ; pub const OLECMDID_SETPROGRESSMAX : Self = Self ( 25i32 ) ; pub const OLECMDID_SETPROGRESSPOS : Self = Self ( 26i32 ) ; pub const OLECMDID_SETPROGRESSTEXT : Self = Self ( 27i32 ) ; pub const OLECMDID_SETTITLE : Self = Self ( 28i32 ) ; pub const OLECMDID_SETDOWNLOADSTATE : Self = Self ( 29i32 ) ; pub const OLECMDID_STOPDOWNLOAD : Self = Self ( 30i32 ) ; pub const OLECMDID_ONTOOLBARACTIVATED : Self = Self ( 31i32 ) ; pub const OLECMDID_FIND : Self = Self ( 32i32 ) ; pub const OLECMDID_DELETE : Self = Self ( 33i32 ) ; pub const OLECMDID_HTTPEQUIV : Self = Self ( 34i32 ) ; pub const OLECMDID_HTTPEQUIV_DONE : Self = Self ( 35i32 ) ; pub const OLECMDID_ENABLE_INTERACTION : Self = Self ( 36i32 ) ; pub const OLECMDID_ONUNLOAD : Self = Self ( 37i32 ) ; pub const OLECMDID_PROPERTYBAG2 : Self = Self ( 38i32 ) ; pub const OLECMDID_PREREFRESH : Self = Self ( 39i32 ) ; pub const OLECMDID_SHOWSCRIPTERROR : Self = Self ( 40i32 ) ; pub const OLECMDID_SHOWMESSAGE : Self = Self ( 41i32 ) ; pub const OLECMDID_SHOWFIND : Self = Self ( 42i32 ) ; pub const OLECMDID_SHOWPAGESETUP : Self = Self ( 43i32 ) ; pub const OLECMDID_SHOWPRINT : Self = Self ( 44i32 ) ; pub const OLECMDID_CLOSE : Self = Self ( 45i32 ) ; pub const OLECMDID_ALLOWUILESSSAVEAS : Self = Self ( 46i32 ) ; pub const OLECMDID_DONTDOWNLOADCSS : Self = Self ( 47i32 ) ; pub const OLECMDID_UPDATEPAGESTATUS : Self = Self ( 48i32 ) ; pub const OLECMDID_PRINT2 : Self = Self ( 49i32 ) ; pub const OLECMDID_PRINTPREVIEW2 : Self = Self ( 50i32 ) ; pub const OLECMDID_SETPRINTTEMPLATE : Self = Self ( 51i32 ) ; pub const OLECMDID_GETPRINTTEMPLATE : Self = Self ( 52i32 ) ; pub const OLECMDID_PAGEACTIONBLOCKED : Self = Self ( 55i32 ) ; pub const OLECMDID_PAGEACTIONUIQUERY : Self = Self ( 56i32 ) ; pub const OLECMDID_FOCUSVIEWCONTROLS : Self = Self ( 57i32 ) ; pub const OLECMDID_FOCUSVIEWCONTROLSQUERY : Self = Self ( 58i32 ) ; pub const OLECMDID_SHOWPAGEACTIONMENU : Self = Self ( 59i32 ) ; pub const OLECMDID_ADDTRAVELENTRY : Self = Self ( 60i32 ) ; pub const OLECMDID_UPDATETRAVELENTRY : Self = Self ( 61i32 ) ; pub const OLECMDID_UPDATEBACKFORWARDSTATE : Self = Self ( 62i32 ) ; pub const OLECMDID_OPTICAL_ZOOM : Self = Self ( 63i32 ) ; pub const OLECMDID_OPTICAL_GETZOOMRANGE : Self = Self ( 64i32 ) ; pub const OLECMDID_WINDOWSTATECHANGED : Self = Self ( 65i32 ) ; pub const OLECMDID_ACTIVEXINSTALLSCOPE : Self = Self ( 66i32 ) ; pub const OLECMDID_UPDATETRAVELENTRY_DATARECOVERY : Self = Self ( 67i32 ) ; pub const OLECMDID_SHOWTASKDLG : Self = Self ( 68i32 ) ; pub const OLECMDID_POPSTATEEVENT : Self = Self ( 69i32 ) ; pub const OLECMDID_VIEWPORT_MODE : Self = Self ( 70i32 ) ; pub const OLECMDID_LAYOUT_VIEWPORT_WIDTH : Self = Self ( 71i32 ) ; pub const OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM : Self = Self ( 72i32 ) ; pub const OLECMDID_USER_OPTICAL_ZOOM : Self = Self ( 73i32 ) ; pub const OLECMDID_PAGEAVAILABLE : Self = Self ( 74i32 ) ; pub const OLECMDID_GETUSERSCALABLE : Self = Self ( 75i32 ) ; pub const OLECMDID_UPDATE_CARET : Self = Self ( 76i32 ) ; pub const OLECMDID_ENABLE_VISIBILITY : Self = Self ( 77i32 ) ; pub const OLECMDID_MEDIA_PLAYBACK : Self = Self ( 78i32 ) ; pub const OLECMDID_SETFAVICON : Self = Self ( 79i32 ) ; pub const OLECMDID_SET_HOST_FULLSCREENMODE : Self = Self ( 80i32 ) ; pub const OLECMDID_EXITFULLSCREEN : Self = Self ( 81i32 ) ; pub const OLECMDID_SCROLLCOMPLETE : Self = Self ( 82i32 ) ; pub const OLECMDID_ONBEFOREUNLOAD : Self = Self ( 83i32 ) ; pub const OLECMDID_SHOWMESSAGE_BLOCKABLE : Self = Self ( 84i32 ) ; pub const OLECMDID_SHOWTASKDLG_BLOCKABLE : Self = Self ( 85i32 ) ; } impl :: std :: convert :: From < i32 > for OLECMDID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID { type Abi = 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 ) ; impl OLECMDID_BROWSERSTATEFLAG { pub const OLECMDIDF_BROWSERSTATE_EXTENSIONSOFF : Self = Self ( 1i32 ) ; pub const OLECMDIDF_BROWSERSTATE_IESECURITY : Self = Self ( 2i32 ) ; pub const OLECMDIDF_BROWSERSTATE_PROTECTEDMODE_OFF : Self = Self ( 4i32 ) ; pub const OLECMDIDF_BROWSERSTATE_RESET : Self = Self ( 8i32 ) ; pub const OLECMDIDF_BROWSERSTATE_REQUIRESACTIVEX : Self = Self ( 16i32 ) ; pub const OLECMDIDF_BROWSERSTATE_DESKTOPHTMLDIALOG : Self = Self ( 32i32 ) ; pub const OLECMDIDF_BROWSERSTATE_BLOCKEDVERSION : Self = Self ( 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 ; } # [ 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 ) ; impl OLECMDID_OPTICAL_ZOOMFLAG { pub const OLECMDIDF_OPTICAL_ZOOM_NOPERSIST : Self = Self ( 1i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_NOLAYOUT : Self = Self ( 16i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_NOTRANSIENT : Self = Self ( 32i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_RELOADFORNEWTAB : Self = Self ( 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 ; } # [ 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 ) ; impl OLECMDID_PAGEACTIONFLAG { pub const OLECMDIDF_PAGEACTION_FILEDOWNLOAD : Self = Self ( 1i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXINSTALL : Self = Self ( 2i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXTRUSTFAIL : Self = Self ( 4i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXUSERDISABLE : Self = Self ( 8i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXDISALLOW : Self = Self ( 16i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXUNSAFE : Self = Self ( 32i32 ) ; pub const OLECMDIDF_PAGEACTION_POPUPWINDOW : Self = Self ( 64i32 ) ; pub const OLECMDIDF_PAGEACTION_LOCALMACHINE : Self = Self ( 128i32 ) ; pub const OLECMDIDF_PAGEACTION_MIMETEXTPLAIN : Self = Self ( 256i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE : Self = Self ( 512i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXINSTALL : Self = Self ( 512i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNLOCALMACHINE : Self = Self ( 1024i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNTRUSTED : Self = Self ( 2048i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTRANET : Self = Self ( 4096i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTERNET : Self = Self ( 8192i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNRESTRICTED : Self = Self ( 16384i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNDENY : Self = Self ( 32768i32 ) ; pub const OLECMDIDF_PAGEACTION_POPUPALLOWED : Self = Self ( 65536i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTPROMPT : Self = Self ( 131072i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXUSERAPPROVAL : Self = Self ( 262144i32 ) ; pub const OLECMDIDF_PAGEACTION_MIXEDCONTENT : Self = Self ( 524288i32 ) ; pub const OLECMDIDF_PAGEACTION_INVALID_CERT : Self = Self ( 1048576i32 ) ; pub const OLECMDIDF_PAGEACTION_INTRANETZONEREQUEST : Self = Self ( 2097152i32 ) ; pub const OLECMDIDF_PAGEACTION_XSSFILTERED : Self = Self ( 4194304i32 ) ; pub const OLECMDIDF_PAGEACTION_SPOOFABLEIDNHOST : Self = Self ( 8388608i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEX_EPM_INCOMPATIBLE : Self = Self ( 16777216i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXUSERAPPROVAL : Self = Self ( 33554432i32 ) ; pub const OLECMDIDF_PAGEACTION_WPCBLOCKED : Self = Self ( 67108864i32 ) ; pub const OLECMDIDF_PAGEACTION_WPCBLOCKED_ACTIVEX : Self = Self ( 134217728i32 ) ; pub const OLECMDIDF_PAGEACTION_EXTENSION_COMPAT_BLOCKED : Self = Self ( 268435456i32 ) ; pub const OLECMDIDF_PAGEACTION_NORESETACTIVEX : Self = Self ( 536870912i32 ) ; pub const OLECMDIDF_PAGEACTION_GENERIC_STATE : Self = Self ( 1073741824i32 ) ; pub const OLECMDIDF_PAGEACTION_RESET : Self = Self ( -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 ; } # [ 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 ) ; impl OLECMDID_REFRESHFLAG { pub const OLECMDIDF_REFRESH_NORMAL : Self = Self ( 0i32 ) ; pub const OLECMDIDF_REFRESH_IFEXPIRED : Self = Self ( 1i32 ) ; pub const OLECMDIDF_REFRESH_CONTINUE : Self = Self ( 2i32 ) ; pub const OLECMDIDF_REFRESH_COMPLETELY : Self = Self ( 3i32 ) ; pub const OLECMDIDF_REFRESH_NO_CACHE : Self = Self ( 4i32 ) ; pub const OLECMDIDF_REFRESH_RELOAD : Self = Self ( 5i32 ) ; pub const OLECMDIDF_REFRESH_LEVELMASK : Self = Self ( 255i32 ) ; pub const OLECMDIDF_REFRESH_CLEARUSERINPUT : Self = Self ( 4096i32 ) ; pub const OLECMDIDF_REFRESH_PROMPTIFOFFLINE : Self = Self ( 8192i32 ) ; pub const OLECMDIDF_REFRESH_THROUGHSCRIPT : Self = Self ( 16384i32 ) ; pub const OLECMDIDF_REFRESH_SKIPBEFOREUNLOADEVENT : Self = Self ( 32768i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL : Self = Self ( 65536i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD : Self = Self ( 131072i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE : Self = Self ( 262144i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW : Self = Self ( 524288i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE : Self = Self ( 1048576i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED : Self = Self ( 2097152i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET : Self = Self ( 4194304i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET : Self = Self ( 8388608i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED : Self = Self ( 16777216i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT : Self = Self ( 33554432i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT : Self = Self ( 67108864i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_ALLOW_VERSION : Self = Self ( 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 ; } # [ 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 ) ; impl OLECMDID_VIEWPORT_MODE_FLAG { pub const OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH : Self = Self ( 1i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM : Self = Self ( 2i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH_VALID : Self = Self ( 65536i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM_VALID : Self = Self ( 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 ; } # [ 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 ) ; impl OLECMDID_WINDOWSTATE_FLAG { pub const OLECMDIDF_WINDOWSTATE_USERVISIBLE : Self = Self ( 1i32 ) ; pub const OLECMDIDF_WINDOWSTATE_ENABLED : Self = Self ( 2i32 ) ; pub const OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID : Self = Self ( 65536i32 ) ; pub const OLECMDIDF_WINDOWSTATE_ENABLED_VALID : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cmdtextf ) ) . field ( "cwActual" , & format_args ! ( "{:?}" , self . cwActual ) ) . field ( "cwBuf" , & format_args ! ( "{:?}" , self . cwBuf ) ) . field ( "rgwz" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl OLECMDTEXTF { pub const OLECMDTEXTF_NONE : Self = Self ( 0i32 ) ; pub const OLECMDTEXTF_NAME : Self = Self ( 1i32 ) ; pub const OLECMDTEXTF_STATUS : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for OLECMDTEXTF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDTEXTF { type Abi = 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 ) ; impl OLECONTF { pub const OLECONTF_EMBEDDINGS : Self = Self ( 1i32 ) ; pub const OLECONTF_LINKS : Self = Self ( 2i32 ) ; pub const OLECONTF_OTHERS : Self = Self ( 4i32 ) ; pub const OLECONTF_ONLYUSER : Self = Self ( 8i32 ) ; pub const OLECONTF_ONLYIFRUNNING : Self = Self ( 16i32 ) ; } impl :: std :: convert :: From < i32 > for OLECONTF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECONTF { type Abi = 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 ) ; impl OLEDCFLAGS { pub const OLEDC_NODRAW : Self = Self ( 1i32 ) ; pub const OLEDC_PAINTBKGND : Self = Self ( 2i32 ) ; pub const OLEDC_OFFSCREEN : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for OLEDCFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEDCFLAGS { type Abi = 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 ) ; impl OLEGETMONIKER { pub const OLEGETMONIKER_ONLYIFTHERE : Self = Self ( 1i32 ) ; pub const OLEGETMONIKER_FORCEASSIGN : Self = Self ( 2i32 ) ; pub const OLEGETMONIKER_UNASSIGN : Self = Self ( 3i32 ) ; pub const OLEGETMONIKER_TEMPFORUSER : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for OLEGETMONIKER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEGETMONIKER { type Abi = 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 ) ; impl OLELINKBIND { pub const OLELINKBIND_EVENIFCLASSDIFF : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for OLELINKBIND { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLELINKBIND { type Abi = 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 ) ; impl OLEMISC { pub const OLEMISC_RECOMPOSEONRESIZE : Self = Self ( 1i32 ) ; pub const OLEMISC_ONLYICONIC : Self = Self ( 2i32 ) ; pub const OLEMISC_INSERTNOTREPLACE : Self = Self ( 4i32 ) ; pub const OLEMISC_STATIC : Self = Self ( 8i32 ) ; pub const OLEMISC_CANTLINKINSIDE : Self = Self ( 16i32 ) ; pub const OLEMISC_CANLINKBYOLE1 : Self = Self ( 32i32 ) ; pub const OLEMISC_ISLINKOBJECT : Self = Self ( 64i32 ) ; pub const OLEMISC_INSIDEOUT : Self = Self ( 128i32 ) ; pub const OLEMISC_ACTIVATEWHENVISIBLE : Self = Self ( 256i32 ) ; pub const OLEMISC_RENDERINGISDEVICEINDEPENDENT : Self = Self ( 512i32 ) ; pub const OLEMISC_INVISIBLEATRUNTIME : Self = Self ( 1024i32 ) ; pub const OLEMISC_ALWAYSRUN : Self = Self ( 2048i32 ) ; pub const OLEMISC_ACTSLIKEBUTTON : Self = Self ( 4096i32 ) ; pub const OLEMISC_ACTSLIKELABEL : Self = Self ( 8192i32 ) ; pub const OLEMISC_NOUIACTIVATE : Self = Self ( 16384i32 ) ; pub const OLEMISC_ALIGNABLE : Self = Self ( 32768i32 ) ; pub const OLEMISC_SIMPLEFRAME : Self = Self ( 65536i32 ) ; pub const OLEMISC_SETCLIENTSITEFIRST : Self = Self ( 131072i32 ) ; pub const OLEMISC_IMEMODE : Self = Self ( 262144i32 ) ; pub const OLEMISC_IGNOREACTIVATEWHENVISIBLE : Self = Self ( 524288i32 ) ; pub const OLEMISC_WANTSTOMENUMERGE : Self = Self ( 1048576i32 ) ; pub const OLEMISC_SUPPORTSMULTILEVELUNDO : Self = Self ( 2097152i32 ) ; } impl :: std :: convert :: From < i32 > for OLEMISC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEMISC { type Abi = Self ; } pub const OLEMISC_ACTSLIKEBUTTON : i32 = 4096i32 ; pub const OLEMISC_ACTSLIKELABEL : i32 = 8192i32 ; pub const OLEMISC_ALIGNABLE : i32 = 32768i32 ; pub const OLEMISC_ALWAYSRUN : i32 = 2048i32 ; pub const OLEMISC_IMEMODE : i32 = 262144i32 ; pub const OLEMISC_INVISIBLEATRUNTIME : i32 = 1024i32 ; pub const OLEMISC_NOUIACTIVATE : i32 = 16384i32 ; pub const OLEMISC_SETCLIENTSITEFIRST : i32 = 131072i32 ; pub const OLEMISC_SIMPLEFRAME : i32 = 65536i32 ; # [ 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 ) ; impl OLERENDER { pub const OLERENDER_NONE : Self = Self ( 0i32 ) ; pub const OLERENDER_DRAW : Self = Self ( 1i32 ) ; pub const OLERENDER_FORMAT : Self = Self ( 2i32 ) ; pub const OLERENDER_ASIS : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for OLERENDER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLERENDER { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . Get ) ) . field ( "Put" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIBUSYA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub hTask : super :: CoreAudio :: HTASK , pub lphWndDialog : * mut super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "hTask" , & format_args ! ( "{:?}" , self . hTask ) ) . field ( "lphWndDialog" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUIBUSYA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIBUSYW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: HRSRC , pub hTask : super :: CoreAudio :: HTASK , pub lphWndDialog : * mut super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "hTask" , & format_args ! ( "{:?}" , self . hTask ) ) . field ( "lphWndDialog" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUIBUSYW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICHANGEICONA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub hMetaPict : isize , pub clsid : :: windows :: Guid , pub szIconExe : [ i8 ;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 : [ 0 ;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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , self . hMetaPict ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "szIconExe" , & format_args ! ( "{:?}" , self . szIconExe ) ) . field ( "cchIconExe" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUICHANGEICONA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICHANGEICONW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , self . hMetaPict ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "szIconExe" , & format_args ! ( "{:?}" , self . szIconExe ) ) . field ( "cchIconExe" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUICHANGEICONW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUICHANGESOURCEA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub lpOFN : * mut super :: WindowsAndMessaging :: OPENFILENAMEA , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: std :: option :: Option < IOleUILinkContainerA > , pub dwLink : u32 , pub lpszDisplayName : super :: SystemServices :: PSTR , pub nFileLength : u32 , pub lpszFrom : super :: SystemServices :: PSTR , pub lpszTo : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lpOleUILinkContainer" , & format_args ! ( "{:?}" , self . lpOleUILinkContainer ) ) . field ( "dwLink" , & format_args ! ( "{:?}" , self . dwLink ) ) . field ( "lpszDisplayName" , & format_args ! ( "{:?}" , self . lpszDisplayName ) ) . field ( "nFileLength" , & format_args ! ( "{:?}" , self . nFileLength ) ) . field ( "lpszFrom" , & format_args ! ( "{:?}" , self . lpszFrom ) ) . field ( "lpszTo" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub lpOFN : * mut super :: WindowsAndMessaging :: OPENFILENAMEA , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: windows :: RawPtr , pub dwLink : u32 , pub lpszDisplayName : super :: SystemServices :: PSTR , pub nFileLength : u32 , pub lpszFrom : super :: SystemServices :: PSTR , pub lpszTo : super :: SystemServices :: PSTR } unsafe impl :: windows :: Abi for OLEUICHANGESOURCEA { type Abi = OLEUICHANGESOURCEA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUICHANGESOURCEW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: HRSRC , pub lpOFN : * mut super :: WindowsAndMessaging :: OPENFILENAMEW , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: std :: option :: Option < IOleUILinkContainerW > , pub dwLink : u32 , pub lpszDisplayName : super :: SystemServices :: PWSTR , pub nFileLength : u32 , pub lpszFrom : super :: SystemServices :: PWSTR , pub lpszTo : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lpOleUILinkContainer" , & format_args ! ( "{:?}" , self . lpOleUILinkContainer ) ) . field ( "dwLink" , & format_args ! ( "{:?}" , self . dwLink ) ) . field ( "lpszDisplayName" , & format_args ! ( "{:?}" , self . lpszDisplayName ) ) . field ( "nFileLength" , & format_args ! ( "{:?}" , self . nFileLength ) ) . field ( "lpszFrom" , & format_args ! ( "{:?}" , self . lpszFrom ) ) . field ( "lpszTo" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: HRSRC , pub lpOFN : * mut super :: WindowsAndMessaging :: OPENFILENAMEW , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: windows :: RawPtr , pub dwLink : u32 , pub lpszDisplayName : super :: SystemServices :: PWSTR , pub nFileLength : u32 , pub lpszFrom : super :: SystemServices :: PWSTR , pub lpszTo : super :: SystemServices :: PWSTR } unsafe impl :: windows :: Abi for OLEUICHANGESOURCEW { type Abi = OLEUICHANGESOURCEW_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICONVERTA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: 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 :: SystemServices :: BOOL , pub hMetaPict : isize , pub lpszUserType : super :: SystemServices :: PSTR , pub fObjectsIconChanged : super :: SystemServices :: BOOL , pub lpszDefLabel : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "clsidConvertDefault" , & format_args ! ( "{:?}" , self . clsidConvertDefault ) ) . field ( "clsidActivateDefault" , & format_args ! ( "{:?}" , self . clsidActivateDefault ) ) . field ( "clsidNew" , & format_args ! ( "{:?}" , self . clsidNew ) ) . field ( "dvAspect" , & format_args ! ( "{:?}" , self . dvAspect ) ) . field ( "wFormat" , & format_args ! ( "{:?}" , self . wFormat ) ) . field ( "fIsLinkedObject" , & format_args ! ( "{:?}" , self . fIsLinkedObject ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , self . hMetaPict ) ) . field ( "lpszUserType" , & format_args ! ( "{:?}" , self . lpszUserType ) ) . field ( "fObjectsIconChanged" , & format_args ! ( "{:?}" , self . fObjectsIconChanged ) ) . field ( "lpszDefLabel" , & format_args ! ( "{:?}" , self . lpszDefLabel ) ) . field ( "cClsidExclude" , & format_args ! ( "{:?}" , self . cClsidExclude ) ) . field ( "lpClsidExclude" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUICONVERTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICONVERTW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: 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 :: SystemServices :: BOOL , pub hMetaPict : isize , pub lpszUserType : super :: SystemServices :: PWSTR , pub fObjectsIconChanged : super :: SystemServices :: BOOL , pub lpszDefLabel : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "clsidConvertDefault" , & format_args ! ( "{:?}" , self . clsidConvertDefault ) ) . field ( "clsidActivateDefault" , & format_args ! ( "{:?}" , self . clsidActivateDefault ) ) . field ( "clsidNew" , & format_args ! ( "{:?}" , self . clsidNew ) ) . field ( "dvAspect" , & format_args ! ( "{:?}" , self . dvAspect ) ) . field ( "wFormat" , & format_args ! ( "{:?}" , self . wFormat ) ) . field ( "fIsLinkedObject" , & format_args ! ( "{:?}" , self . fIsLinkedObject ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , self . hMetaPict ) ) . field ( "lpszUserType" , & format_args ! ( "{:?}" , self . lpszUserType ) ) . field ( "fObjectsIconChanged" , & format_args ! ( "{:?}" , self . fObjectsIconChanged ) ) . field ( "lpszDefLabel" , & format_args ! ( "{:?}" , self . lpszDefLabel ) ) . field ( "cClsidExclude" , & format_args ! ( "{:?}" , self . cClsidExclude ) ) . field ( "lpClsidExclude" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUICONVERTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIEDITLINKSA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "lpOleUILinkContainer" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub lpOleUILinkContainer : :: windows :: RawPtr } unsafe impl :: windows :: Abi for OLEUIEDITLINKSA { type Abi = OLEUIEDITLINKSA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIEDITLINKSW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "lpOleUILinkContainer" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: HRSRC , pub lpOleUILinkContainer : :: windows :: RawPtr } unsafe impl :: windows :: Abi for OLEUIEDITLINKSW { type Abi = OLEUIEDITLINKSW_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIVIEWPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , self . dwReserved2 ) ) . field ( "lpOP" , & format_args ! ( "{:?}" , self . lpOP ) ) . field ( "nScaleMin" , & format_args ! ( "{:?}" , self . nScaleMin ) ) . field ( "nScaleMax" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUIVIEWPROPSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUILINKPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , self . dwReserved2 ) ) . field ( "lpOP" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUILINKPROPSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIOBJECTPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub lpPS : * mut super :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "lpPS" , & format_args ! ( "{:?}" , self . lpPS ) ) . field ( "dwObject" , & format_args ! ( "{:?}" , self . dwObject ) ) . field ( "lpObjInfo" , & format_args ! ( "{:?}" , self . lpObjInfo ) ) . field ( "dwLink" , & format_args ! ( "{:?}" , self . dwLink ) ) . field ( "lpLinkInfo" , & format_args ! ( "{:?}" , self . lpLinkInfo ) ) . field ( "lpGP" , & format_args ! ( "{:?}" , self . lpGP ) ) . field ( "lpVP" , & format_args ! ( "{:?}" , self . lpVP ) ) . field ( "lpLP" , & format_args ! ( "{:?}" , 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 :: Controls :: PROPSHEETHEADERA_V2 , pub dwObject : u32 , pub lpObjInfo : :: windows :: RawPtr , pub dwLink : u32 , pub lpLinkInfo : :: windows :: RawPtr , pub lpGP : * mut OLEUIGNRLPROPSA , pub lpVP : * mut OLEUIVIEWPROPSA , pub lpLP : * mut OLEUILINKPROPSA } unsafe impl :: windows :: Abi for OLEUIOBJECTPROPSA { type Abi = OLEUIOBJECTPROPSA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIGNRLPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , self . dwReserved2 ) ) . field ( "lpOP" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUIGNRLPROPSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIVIEWPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , self . dwReserved2 ) ) . field ( "lpOP" , & format_args ! ( "{:?}" , self . lpOP ) ) . field ( "nScaleMin" , & format_args ! ( "{:?}" , self . nScaleMin ) ) . field ( "nScaleMax" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUIVIEWPROPSW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUILINKPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , self . dwReserved2 ) ) . field ( "lpOP" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUILINKPROPSW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIOBJECTPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub lpPS : * mut super :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "lpPS" , & format_args ! ( "{:?}" , self . lpPS ) ) . field ( "dwObject" , & format_args ! ( "{:?}" , self . dwObject ) ) . field ( "lpObjInfo" , & format_args ! ( "{:?}" , self . lpObjInfo ) ) . field ( "dwLink" , & format_args ! ( "{:?}" , self . dwLink ) ) . field ( "lpLinkInfo" , & format_args ! ( "{:?}" , self . lpLinkInfo ) ) . field ( "lpGP" , & format_args ! ( "{:?}" , self . lpGP ) ) . field ( "lpVP" , & format_args ! ( "{:?}" , self . lpVP ) ) . field ( "lpLP" , & format_args ! ( "{:?}" , 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 :: Controls :: PROPSHEETHEADERW_V2 , pub dwObject : u32 , pub lpObjInfo : :: windows :: RawPtr , pub dwLink : u32 , pub lpLinkInfo : :: windows :: RawPtr , pub lpGP : * mut OLEUIGNRLPROPSW , pub lpVP : * mut OLEUIVIEWPROPSW , pub lpLP : * mut OLEUILINKPROPSW } unsafe impl :: windows :: Abi for OLEUIOBJECTPROPSW { type Abi = OLEUIOBJECTPROPSW_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIGNRLPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwReserved1" , & format_args ! ( "{:?}" , self . dwReserved1 ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "dwReserved2" , & format_args ! ( "{:?}" , self . dwReserved2 ) ) . field ( "lpOP" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OLEUIGNRLPROPSW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIINSERTOBJECTA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super :: SystemServices :: 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 :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "lpszFile" , & format_args ! ( "{:?}" , self . lpszFile ) ) . field ( "cchFile" , & format_args ! ( "{:?}" , self . cchFile ) ) . field ( "cClsidExclude" , & format_args ! ( "{:?}" , self . cClsidExclude ) ) . field ( "lpClsidExclude" , & format_args ! ( "{:?}" , self . lpClsidExclude ) ) . field ( "iid" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "oleRender" , & format_args ! ( "{:?}" , self . oleRender ) ) . field ( "lpFormatEtc" , & format_args ! ( "{:?}" , self . lpFormatEtc ) ) . field ( "lpIOleClientSite" , & format_args ! ( "{:?}" , self . lpIOleClientSite ) ) . field ( "lpIStorage" , & format_args ! ( "{:?}" , self . lpIStorage ) ) . field ( "ppvObj" , & format_args ! ( "{:?}" , self . ppvObj ) ) . field ( "sc" , & format_args ! ( "{:?}" , self . sc ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super :: SystemServices :: 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIINSERTOBJECTW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super :: SystemServices :: 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 :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "clsid" , & format_args ! ( "{:?}" , self . clsid ) ) . field ( "lpszFile" , & format_args ! ( "{:?}" , self . lpszFile ) ) . field ( "cchFile" , & format_args ! ( "{:?}" , self . cchFile ) ) . field ( "cClsidExclude" , & format_args ! ( "{:?}" , self . cClsidExclude ) ) . field ( "lpClsidExclude" , & format_args ! ( "{:?}" , self . lpClsidExclude ) ) . field ( "iid" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "oleRender" , & format_args ! ( "{:?}" , self . oleRender ) ) . field ( "lpFormatEtc" , & format_args ! ( "{:?}" , self . lpFormatEtc ) ) . field ( "lpIOleClientSite" , & format_args ! ( "{:?}" , self . lpIOleClientSite ) ) . field ( "lpIStorage" , & format_args ! ( "{:?}" , self . lpIStorage ) ) . field ( "ppvObj" , & format_args ! ( "{:?}" , self . ppvObj ) ) . field ( "sc" , & format_args ! ( "{:?}" , self . sc ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super :: SystemServices :: 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIPASTEENTRYA { pub fmtetc : FORMATETC , pub lpstrFormatName : super :: SystemServices :: PSTR , pub lpstrResultText : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . fmtetc ) ) . field ( "lpstrFormatName" , & format_args ! ( "{:?}" , self . lpstrFormatName ) ) . field ( "lpstrResultText" , & format_args ! ( "{:?}" , self . lpstrResultText ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwScratchSpace" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIPASTEENTRYW { pub fmtetc : FORMATETC , pub lpstrFormatName : super :: SystemServices :: PWSTR , pub lpstrResultText : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . fmtetc ) ) . field ( "lpstrFormatName" , & format_args ! ( "{:?}" , self . lpstrFormatName ) ) . field ( "lpstrResultText" , & format_args ! ( "{:?}" , self . lpstrResultText ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwScratchSpace" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl OLEUIPASTEFLAG { pub const OLEUIPASTE_ENABLEICON : Self = Self ( 2048i32 ) ; pub const OLEUIPASTE_PASTEONLY : Self = Self ( 0i32 ) ; pub const OLEUIPASTE_PASTE : Self = Self ( 512i32 ) ; pub const OLEUIPASTE_LINKANYTYPE : Self = Self ( 1024i32 ) ; pub const OLEUIPASTE_LINKTYPE1 : Self = Self ( 1i32 ) ; pub const OLEUIPASTE_LINKTYPE2 : Self = Self ( 2i32 ) ; pub const OLEUIPASTE_LINKTYPE3 : Self = Self ( 4i32 ) ; pub const OLEUIPASTE_LINKTYPE4 : Self = Self ( 8i32 ) ; pub const OLEUIPASTE_LINKTYPE5 : Self = Self ( 16i32 ) ; pub const OLEUIPASTE_LINKTYPE6 : Self = Self ( 32i32 ) ; pub const OLEUIPASTE_LINKTYPE7 : Self = Self ( 64i32 ) ; pub const OLEUIPASTE_LINKTYPE8 : Self = Self ( 128i32 ) ; } impl :: std :: convert :: From < i32 > for OLEUIPASTEFLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEUIPASTEFLAG { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIPASTESPECIALA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: 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 :: SystemServices :: BOOL , pub hMetaPict : isize , pub sizel : super :: DisplayDevices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "lpSrcDataObj" , & format_args ! ( "{:?}" , self . lpSrcDataObj ) ) . field ( "arrPasteEntries" , & format_args ! ( "{:?}" , self . arrPasteEntries ) ) . field ( "cPasteEntries" , & format_args ! ( "{:?}" , self . cPasteEntries ) ) . field ( "arrLinkTypes" , & format_args ! ( "{:?}" , self . arrLinkTypes ) ) . field ( "cLinkTypes" , & format_args ! ( "{:?}" , self . cLinkTypes ) ) . field ( "cClsidExclude" , & format_args ! ( "{:?}" , self . cClsidExclude ) ) . field ( "lpClsidExclude" , & format_args ! ( "{:?}" , self . lpClsidExclude ) ) . field ( "nSelectedIndex" , & format_args ! ( "{:?}" , self . nSelectedIndex ) ) . field ( "fLink" , & format_args ! ( "{:?}" , self . fLink ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , self . hMetaPict ) ) . field ( "sizel" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PSTR , pub hResource : super :: SystemServices :: 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 :: SystemServices :: BOOL , pub hMetaPict : isize , pub sizel : super :: DisplayDevices :: SIZE } unsafe impl :: windows :: Abi for OLEUIPASTESPECIALA { type Abi = OLEUIPASTESPECIALA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct OLEUIPASTESPECIALW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: 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 :: SystemServices :: BOOL , pub hMetaPict : isize , pub sizel : super :: DisplayDevices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "hWndOwner" , & format_args ! ( "{:?}" , self . hWndOwner ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszTemplate" , & format_args ! ( "{:?}" , self . lpszTemplate ) ) . field ( "hResource" , & format_args ! ( "{:?}" , self . hResource ) ) . field ( "lpSrcDataObj" , & format_args ! ( "{:?}" , self . lpSrcDataObj ) ) . field ( "arrPasteEntries" , & format_args ! ( "{:?}" , self . arrPasteEntries ) ) . field ( "cPasteEntries" , & format_args ! ( "{:?}" , self . cPasteEntries ) ) . field ( "arrLinkTypes" , & format_args ! ( "{:?}" , self . arrLinkTypes ) ) . field ( "cLinkTypes" , & format_args ! ( "{:?}" , self . cLinkTypes ) ) . field ( "cClsidExclude" , & format_args ! ( "{:?}" , self . cClsidExclude ) ) . field ( "lpClsidExclude" , & format_args ! ( "{:?}" , self . lpClsidExclude ) ) . field ( "nSelectedIndex" , & format_args ! ( "{:?}" , self . nSelectedIndex ) ) . field ( "fLink" , & format_args ! ( "{:?}" , self . fLink ) ) . field ( "hMetaPict" , & format_args ! ( "{:?}" , self . hMetaPict ) ) . field ( "sizel" , & format_args ! ( "{:?}" , 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 :: WindowsAndMessaging :: HWND , pub lpszCaption : super :: SystemServices :: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super :: WindowsAndMessaging :: LPARAM , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszTemplate : super :: SystemServices :: PWSTR , pub hResource : super :: SystemServices :: 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 :: SystemServices :: BOOL , pub hMetaPict : isize , pub sizel : super :: DisplayDevices :: SIZE } unsafe impl :: windows :: Abi for OLEUIPASTESPECIALW { type Abi = OLEUIPASTESPECIALW_abi ; } 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 ) ; impl OLEUPDATE { pub const OLEUPDATE_ALWAYS : Self = Self ( 1i32 ) ; pub const OLEUPDATE_ONCALL : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for OLEUPDATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEUPDATE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEVERB { pub lVerb : i32 , pub lpszVerbName : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . lVerb ) ) . field ( "lpszVerbName" , & format_args ! ( "{:?}" , self . lpszVerbName ) ) . field ( "fuFlags" , & format_args ! ( "{:?}" , self . fuFlags ) ) . field ( "grfAttribs" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl OLEVERBATTRIB { pub const OLEVERBATTRIB_NEVERDIRTIES : Self = Self ( 1i32 ) ; pub const OLEVERBATTRIB_ONCONTAINERMENU : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for OLEVERBATTRIB { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEVERBATTRIB { type Abi = 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 ) ; impl OLEWHICHMK { pub const OLEWHICHMK_CONTAINER : Self = Self ( 1i32 ) ; pub const OLEWHICHMK_OBJREL : Self = Self ( 2i32 ) ; pub const OLEWHICHMK_OBJFULL : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for OLEWHICHMK { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEWHICHMK { type Abi = 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 ) ; impl OLE_TRISTATE { pub const triUnchecked : Self = Self ( 0i32 ) ; pub const triChecked : Self = Self ( 1i32 ) ; pub const triGray : Self = Self ( 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 ; } 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 :: SystemServices :: PSTR , cbsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleBuildVersion < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreate < 'a , T4__ : :: windows :: IntoParam < 'a , IOleClientSite > , T5__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( rclsid : * const :: windows :: Guid , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : T4__ , pstg : T5__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateDefaultHandler < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( clsid : * const :: windows :: Guid , punkouter : T1__ , riid : * const :: windows :: Guid , lplpobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateEmbeddingHelper < 'a , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T3__ : :: windows :: IntoParam < 'a , IClassFactory > , > ( clsid : * const :: windows :: Guid , punkouter : T1__ , flags : u32 , pcf : T3__ , riid : * const :: windows :: Guid , lplpobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateEx < 'a , T7__ : :: windows :: IntoParam < 'a , IAdviseSink > , T9__ : :: windows :: IntoParam < 'a , IOleClientSite > , T10__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( rclsid : * const :: windows :: Guid , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : T7__ , rgdwconnection : * mut u32 , pclientsite : T9__ , pstg : T10__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFontIndirect < > ( lpfontdesc : * mut FONTDESC , riid : * const :: windows :: Guid , lplpvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T4__ : :: windows :: IntoParam < 'a , IOleClientSite > , T5__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( psrcdataobj : T0__ , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : T4__ , pstg : T5__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromDataEx < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T7__ : :: windows :: IntoParam < 'a , IAdviseSink > , T9__ : :: windows :: IntoParam < 'a , IOleClientSite > , T10__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( psrcdataobj : T0__ , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : T7__ , rgdwconnection : * mut u32 , pclientsite : T9__ , pstg : T10__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromFile < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , IOleClientSite > , T6__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( rclsid : * const :: windows :: Guid , lpszfilename : T1__ , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : T5__ , pstg : T6__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromFileEx < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T8__ : :: windows :: IntoParam < 'a , IAdviseSink > , T10__ : :: windows :: IntoParam < 'a , IOleClientSite > , T11__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( rclsid : * const :: windows :: Guid , lpszfilename : T1__ , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : T8__ , rgdwconnection : * mut u32 , pclientsite : T10__ , pstg : T11__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLink < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T4__ : :: windows :: IntoParam < 'a , IOleClientSite > , T5__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( pmklinksrc : T0__ , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : T4__ , pstg : T5__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkEx < 'a , T0__ : :: windows :: IntoParam < 'a , IMoniker > , T7__ : :: windows :: IntoParam < 'a , IAdviseSink > , T9__ : :: windows :: IntoParam < 'a , IOleClientSite > , T10__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( pmklinksrc : T0__ , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : T7__ , rgdwconnection : * mut u32 , pclientsite : T9__ , pstg : T10__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T4__ : :: windows :: IntoParam < 'a , IOleClientSite > , T5__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( psrcdataobj : T0__ , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : T4__ , pstg : T5__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkFromDataEx < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T7__ : :: windows :: IntoParam < 'a , IAdviseSink > , T9__ : :: windows :: IntoParam < 'a , IOleClientSite > , T10__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( psrcdataobj : T0__ , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : T7__ , rgdwconnection : * mut u32 , pclientsite : T9__ , pstg : T10__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkToFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , IOleClientSite > , T5__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( lpszfilename : T0__ , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : T4__ , pstg : T5__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkToFileEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T7__ : :: windows :: IntoParam < 'a , IAdviseSink > , T9__ : :: windows :: IntoParam < 'a , IOleClientSite > , T10__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( lpszfilename : T0__ , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : T7__ , rgdwconnection : * mut u32 , pclientsite : T9__ , pstg : T10__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn OleCreateMenuDescriptor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenucombined : T0__ , lpmenuwidths : * mut OleMenuGroupWidths , ) -> isize { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PICTDESC { pub cbSizeofstruct : u32 , pub picType : u32 , pub Anonymous : PICTDESC_0 } impl PICTDESC { } unsafe impl :: windows :: Abi for PICTDESC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 { } unsafe impl :: windows :: Abi for PICTDESC_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PICTDESC_0_0 { pub hbitmap : super :: Gdi :: HBITMAP , pub hpal : super :: 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" , & format_args ! ( "{:?}" , self . hbitmap ) ) . field ( "hpal" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PICTDESC_0_1 { pub hemf : super :: 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" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PICTDESC_0_2 { pub hicon : super :: MenusAndResources :: 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" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PICTDESC_0_3 { pub hmeta : super :: 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" , & format_args ! ( "{:?}" , self . hmeta ) ) . field ( "xExt" , & format_args ! ( "{:?}" , self . xExt ) ) . field ( "yExt" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn OleCreatePictureIndirect < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lppictdesc : * mut PICTDESC , riid : * const :: windows :: Guid , fown : T2__ , lplpvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreatePropertyFrame < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwndowner : T0__ , x : u32 , y : u32 , lpszcaption : T3__ , 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 :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreatePropertyFrameIndirect < > ( lpparams : * mut OCPFIPARAMS , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateStaticFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , T4__ : :: windows :: IntoParam < 'a , IOleClientSite > , T5__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( psrcdataobj : T0__ , iid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : T4__ , pstg : T5__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDestroyMenuDescriptor < > ( holemenu : isize , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDoAutoConvert < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , > ( pstg : T0__ , pclsidnew : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDraw < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T2__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( punknown : T0__ , dwaspect : u32 , hdcdraw : T2__ , lprcbounds : * mut super :: DisplayDevices :: RECT , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDuplicateData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hsrc : T0__ , cfformat : u16 , uiflags : u32 , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleFlushClipboard < > ( ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetAutoConvert < > ( clsidold : * const :: windows :: Guid , pclsidnew : * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetClipboard < > ( ppdataobj : * mut :: std :: option :: Option < IDataObject > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetClipboardWithEnterpriseInfo < > ( dataobject : * mut :: std :: option :: Option < IDataObject > , dataenterpriseid : * mut super :: SystemServices :: PWSTR , sourcedescription : * mut super :: SystemServices :: PWSTR , targetdescription : * mut super :: SystemServices :: PWSTR , datadescription : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetIconOfClass < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( rclsid : * const :: windows :: Guid , lpszlabel : T1__ , fusetypeaslabel : T2__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetIconOfFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lpszpath : T0__ , fusefileaslabel : T1__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleIconToCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hinstexe : T0__ , hicon : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleInitialize < > ( pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleIsCurrentClipboard < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( pdataobj : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleIsRunning < 'a , T0__ : :: windows :: IntoParam < 'a , IOleObject > , > ( pobject : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoad < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , T2__ : :: windows :: IntoParam < 'a , IOleClientSite > , > ( pstg : T0__ , riid : * const :: windows :: Guid , pclientsite : T2__ , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadFromStream < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( pstm : T0__ , iidinterface : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadPicture < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lpstream : T0__ , lsize : i32 , frunmode : T2__ , riid : * const :: windows :: Guid , lplpvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadPictureEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lpstream : T0__ , lsize : i32 , frunmode : T2__ , riid : * const :: windows :: Guid , xsizedesired : u32 , ysizedesired : u32 , dwflags : u32 , lplpvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadPicturePath < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( szurlorpath : T0__ , punkcaller : T1__ , dwreserved : u32 , clrreserved : u32 , riid : * const :: windows :: Guid , ppvret : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLockRunning < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( punknown : T0__ , flock : T1__ , flastunlockcloses : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleMetafilePictFromIconAndLabel < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hicon : T0__ , lpszlabel : T1__ , lpszsourcefile : T2__ , iiconindex : u32 , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleNoteObjectVisible < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( punknown : T0__ , fvisible : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleQueryCreateFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( psrcdataobject : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleQueryLinkFromData < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( psrcdataobject : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegEnumFormatEtc < > ( clsid : * const :: windows :: Guid , dwdirection : u32 , ppenum : * mut :: std :: option :: Option < IEnumFORMATETC > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegEnumVerbs < > ( clsid : * const :: windows :: Guid , ppenum : * mut :: std :: option :: Option < IEnumOLEVERB > , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegGetMiscStatus < > ( clsid : * const :: windows :: Guid , dwaspect : u32 , pdwstatus : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegGetUserType < > ( clsid : * const :: windows :: Guid , dwformoftype : u32 , pszusertype : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRun < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , > ( punknown : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSave < 'a , T0__ : :: windows :: IntoParam < 'a , IPersistStorage > , T1__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStorage > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pps : T0__ , pstg : T1__ , fsameasload : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSaveToStream < 'a , T0__ : :: windows :: IntoParam < 'a , IPersistStream > , T1__ : :: windows :: IntoParam < 'a , super :: StructuredStorage :: IStream > , > ( ppstm : T0__ , pstm : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetAutoConvert < > ( clsidold : * const :: windows :: Guid , clsidnew : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetClipboard < 'a , T0__ : :: windows :: IntoParam < 'a , IDataObject > , > ( pdataobj : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetContainedObject < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( punknown : T0__ , fcontained : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetMenuDescriptor < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T3__ : :: windows :: IntoParam < 'a , IOleInPlaceFrame > , T4__ : :: windows :: IntoParam < 'a , IOleInPlaceActiveObject > , > ( holemenu : isize , hwndframe : T1__ , hwndactiveobject : T2__ , lpframe : T3__ , lpactiveobj : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleTranslateAccelerator < 'a , T0__ : :: windows :: IntoParam < 'a , IOleInPlaceFrame > , > ( lpframe : T0__ , lpframeinfo : * mut OIFI , lpmsg : * mut super :: WindowsAndMessaging :: MSG , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleTranslateColor < 'a , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HPALETTE > , > ( clr : u32 , hpal : T1__ , lpcolorref : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIAddVerbMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , IOleObject > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T6__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lpoleobj : T0__ , lpszshorttype : T1__ , hmenu : T2__ , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : T6__ , idconvert : u32 , lphmenu : * mut super :: MenusAndResources :: HMENU , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIAddVerbMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , IOleObject > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T6__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lpoleobj : T0__ , lpszshorttype : T1__ , hmenu : T2__ , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : T6__ , idconvert : u32 , lphmenu : * mut super :: MenusAndResources :: HMENU , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIBusyA < > ( param0 : * mut OLEUIBUSYA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIBusyW < > ( param0 : * mut OLEUIBUSYW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUICanConvertOrActivateAs < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( rclsid : * const :: windows :: Guid , fislinkedobject : T1__ , wformat : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeIconA < > ( param0 : * mut OLEUICHANGEICONA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeIconW < > ( param0 : * mut OLEUICHANGEICONW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeSourceA < > ( param0 : * mut OLEUICHANGESOURCEA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeSourceW < > ( param0 : * mut OLEUICHANGESOURCEW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIConvertA < > ( param0 : * mut OLEUICONVERTA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIConvertW < > ( param0 : * mut OLEUICONVERTW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIEditLinksA < > ( param0 : * mut OLEUIEDITLINKSA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIEditLinksW < > ( param0 : * mut OLEUIEDITLINKSW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIInsertObjectA < > ( param0 : * mut OLEUIINSERTOBJECTA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIInsertObjectW < > ( param0 : * mut OLEUIINSERTOBJECTW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIObjectPropertiesA < > ( param0 : * mut OLEUIOBJECTPROPSA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIObjectPropertiesW < > ( param0 : * mut OLEUIOBJECTPROPSW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPasteSpecialA < > ( param0 : * mut OLEUIPASTESPECIALA , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPasteSpecialW < > ( param0 : * mut OLEUIPASTESPECIALW , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPromptUserA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( ntemplate : i32 , hwndparent : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPromptUserW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( ntemplate : i32 , hwndparent : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIUpdateLinksA < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUILinkContainerA > , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpoleuilinkcntr : T0__ , hwndparent : T1__ , lpsztitle : T2__ , clinks : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIUpdateLinksW < 'a , T0__ : :: windows :: IntoParam < 'a , IOleUILinkContainerW > , T1__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpoleuilinkcntr : T0__ , hwndparent : T1__ , lpsztitle : T2__ , clinks : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUninitialize < > ( ) { panic ! ( "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 ) ; impl PAGEACTION_UI { pub const PAGEACTION_UI_DEFAULT : Self = Self ( 0i32 ) ; pub const PAGEACTION_UI_MODAL : Self = Self ( 1i32 ) ; pub const PAGEACTION_UI_MODELESS : Self = Self ( 2i32 ) ; pub const PAGEACTION_UI_SILENT : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESET { pub cbStruct : u32 , pub fOddPages : super :: SystemServices :: BOOL , pub fEvenPages : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbStruct ) ) . field ( "fOddPages" , & format_args ! ( "{:?}" , self . fOddPages ) ) . field ( "fEvenPages" , & format_args ! ( "{:?}" , self . fEvenPages ) ) . field ( "cPageRange" , & format_args ! ( "{:?}" , self . cPageRange ) ) . field ( "rgPages" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl PENDINGMSG { pub const PENDINGMSG_CANCELCALL : Self = Self ( 0i32 ) ; pub const PENDINGMSG_WAITNOPROCESS : Self = Self ( 1i32 ) ; pub const PENDINGMSG_WAITDEFPROCESS : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for PENDINGMSG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PENDINGMSG { type Abi = 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 ) ; impl PENDINGTYPE { pub const PENDINGTYPE_TOPLEVEL : Self = Self ( 1i32 ) ; pub const PENDINGTYPE_NESTED : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for PENDINGTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PENDINGTYPE { type Abi = Self ; } pub const PERPROP_E_FIRST : i32 = -2147220992i32 ; pub const PERPROP_E_NOPAGEAVAILABLE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220992i32 as _ ) ; 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 ) ; impl PI_FLAGS { pub const PI_PARSE_URL : Self = Self ( 1i32 ) ; pub const PI_FILTER_MODE : Self = Self ( 2i32 ) ; pub const PI_FORCE_ASYNC : Self = Self ( 4i32 ) ; pub const PI_USE_WORKERTHREAD : Self = Self ( 8i32 ) ; pub const PI_MIMEVERIFICATION : Self = Self ( 16i32 ) ; pub const PI_CLSIDLOOKUP : Self = Self ( 32i32 ) ; pub const PI_DATAPROGRESS : Self = Self ( 64i32 ) ; pub const PI_SYNCHRONOUS : Self = Self ( 128i32 ) ; pub const PI_APARTMENTTHREADED : Self = Self ( 256i32 ) ; pub const PI_CLASSINSTALL : Self = Self ( 512i32 ) ; pub const PI_PASSONBINDCTX : Self = Self ( 8192i32 ) ; pub const PI_NOMIMEHANDLER : Self = Self ( 32768i32 ) ; pub const PI_LOADAPPDIRECT : Self = Self ( 16384i32 ) ; pub const PD_FORCE_SWITCH : Self = Self ( 65536i32 ) ; pub const PI_PREFERDEFAULTHANDLER : Self = Self ( 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 ; } # [ 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 ) ; impl POINTERINACTIVE { pub const POINTERINACTIVE_ACTIVATEONENTRY : Self = Self ( 1i32 ) ; pub const POINTERINACTIVE_DEACTIVATEONLEAVE : Self = Self ( 2i32 ) ; pub const POINTERINACTIVE_ACTIVATEONDRAG : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for POINTERINACTIVE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POINTERINACTIVE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl PRINTFLAG { pub const PRINTFLAG_MAYBOTHERUSER : Self = Self ( 1u32 ) ; pub const PRINTFLAG_PROMPTUSER : Self = Self ( 2u32 ) ; pub const PRINTFLAG_USERMAYCHANGEPRINTER : Self = Self ( 4u32 ) ; pub const PRINTFLAG_RECOMPOSETODEVICE : Self = Self ( 8u32 ) ; pub const PRINTFLAG_DONTACTUALLYPRINT : Self = Self ( 16u32 ) ; pub const PRINTFLAG_FORCEPROPERTIES : Self = Self ( 32u32 ) ; pub const PRINTFLAG_PRINTTOFILE : Self = Self ( 64u32 ) ; } impl :: std :: convert :: From < u32 > for PRINTFLAG { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PRINTFLAG { type Abi = 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 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPBAG2 { pub dwType : u32 , pub vt : u16 , pub cfType : u16 , pub dwHint : u32 , pub pstrName : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . dwType ) ) . field ( "vt" , & format_args ! ( "{:?}" , self . vt ) ) . field ( "cfType" , & format_args ! ( "{:?}" , self . cfType ) ) . field ( "dwHint" , & format_args ! ( "{:?}" , self . dwHint ) ) . field ( "pstrName" , & format_args ! ( "{:?}" , self . pstrName ) ) . field ( "clsid" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl PROPBAG2_TYPE { pub const PROPBAG2_TYPE_UNDEFINED : Self = Self ( 0i32 ) ; pub const PROPBAG2_TYPE_DATA : Self = Self ( 1i32 ) ; pub const PROPBAG2_TYPE_URL : Self = Self ( 2i32 ) ; pub const PROPBAG2_TYPE_OBJECT : Self = Self ( 3i32 ) ; pub const PROPBAG2_TYPE_STREAM : Self = Self ( 4i32 ) ; pub const PROPBAG2_TYPE_STORAGE : Self = Self ( 5i32 ) ; pub const PROPBAG2_TYPE_MONIKER : Self = Self ( 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPPAGEINFO { pub cb : u32 , pub pszTitle : super :: SystemServices :: PWSTR , pub size : super :: DisplayDevices :: SIZE , pub pszDocString : super :: SystemServices :: PWSTR , pub pszHelpFile : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cb ) ) . field ( "pszTitle" , & format_args ! ( "{:?}" , self . pszTitle ) ) . field ( "size" , & format_args ! ( "{:?}" , self . size ) ) . field ( "pszDocString" , & format_args ! ( "{:?}" , self . pszDocString ) ) . field ( "pszHelpFile" , & format_args ! ( "{:?}" , self . pszHelpFile ) ) . field ( "dwHelpContext" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl PROPPAGESTATUS { pub const PROPPAGESTATUS_DIRTY : Self = Self ( 1i32 ) ; pub const PROPPAGESTATUS_VALIDATE : Self = Self ( 2i32 ) ; pub const PROPPAGESTATUS_CLEAN : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for PROPPAGESTATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROPPAGESTATUS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . grfFlags ) ) . field ( "dwState" , & format_args ! ( "{:?}" , self . dwState ) ) . field ( "pData" , & format_args ! ( "{:?}" , self . pData ) ) . field ( "cbData" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "pProtocolSink" , & format_args ! ( "{:?}" , self . pProtocolSink ) ) . field ( "pProtocol" , & format_args ! ( "{:?}" , self . pProtocol ) ) . field ( "pUnk" , & format_args ! ( "{:?}" , self . pUnk ) ) . field ( "dwFilterFlags" , & format_args ! ( "{:?}" , 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 ; } pub const PROTOCOLFLAG_NO_PICS_CHECK : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROTOCOL_ARGUMENT { pub szMethod : super :: SystemServices :: PWSTR , pub szTargetUrl : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . szMethod ) ) . field ( "szTargetUrl" , & format_args ! ( "{:?}" , 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 ; } 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 ; 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 ) ; impl PUAF { pub const PUAF_DEFAULT : Self = Self ( 0i32 ) ; pub const PUAF_NOUI : Self = Self ( 1i32 ) ; pub const PUAF_ISFILE : Self = Self ( 2i32 ) ; pub const PUAF_WARN_IF_DENIED : Self = Self ( 4i32 ) ; pub const PUAF_FORCEUI_FOREGROUND : Self = Self ( 8i32 ) ; pub const PUAF_CHECK_TIFS : Self = Self ( 16i32 ) ; pub const PUAF_DONTCHECKBOXINDIALOG : Self = Self ( 32i32 ) ; pub const PUAF_TRUSTED : Self = Self ( 64i32 ) ; pub const PUAF_ACCEPT_WILDCARD_SCHEME : Self = Self ( 128i32 ) ; pub const PUAF_ENFORCERESTRICTED : Self = Self ( 256i32 ) ; pub const PUAF_NOSAVEDFILECHECK : Self = Self ( 512i32 ) ; pub const PUAF_REQUIRESAVEDFILECHECK : Self = Self ( 1024i32 ) ; pub const PUAF_DONT_USE_CACHE : Self = Self ( 4096i32 ) ; pub const PUAF_RESERVED1 : Self = Self ( 8192i32 ) ; pub const PUAF_RESERVED2 : Self = Self ( 16384i32 ) ; pub const PUAF_LMZ_UNLOCKED : Self = Self ( 65536i32 ) ; pub const PUAF_LMZ_LOCKED : Self = Self ( 131072i32 ) ; pub const PUAF_DEFAULTZONEPOL : Self = Self ( 262144i32 ) ; pub const PUAF_NPL_USE_LOCKED_IF_RESTRICTED : Self = Self ( 524288i32 ) ; pub const PUAF_NOUIIFLOCKED : Self = Self ( 1048576i32 ) ; pub const PUAF_DRAGPROTOCOLCHECK : Self = Self ( 2097152i32 ) ; } impl :: std :: convert :: From < i32 > for PUAF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PUAF { type Abi = 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 ) ; impl PUAFOUT { pub const PUAFOUT_DEFAULT : Self = Self ( 0i32 ) ; pub const PUAFOUT_ISLOCKZONEPOLICY : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for PUAFOUT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PUAFOUT { type Abi = 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 ) ; impl PictureAttributes { pub const PICTURE_SCALABLE : Self = Self ( 1i32 ) ; pub const PICTURE_TRANSPARENT : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for PictureAttributes { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PictureAttributes { type Abi = Self ; } pub unsafe fn ProgIDFromCLSID < > ( clsid : * const :: windows :: Guid , lplpszprogid : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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 :: 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "pClientSite" , & format_args ! ( "{:?}" , self . pClientSite ) ) . field ( "pAdviseSink" , & format_args ! ( "{:?}" , self . pAdviseSink ) ) . field ( "pPropertyNotifySink" , & format_args ! ( "{:?}" , self . pPropertyNotifySink ) ) . field ( "pUnkEventSink" , & format_args ! ( "{:?}" , self . pUnkEventSink ) ) . field ( "dwAmbientFlags" , & format_args ! ( "{:?}" , self . dwAmbientFlags ) ) . field ( "colorFore" , & format_args ! ( "{:?}" , self . colorFore ) ) . field ( "colorBack" , & format_args ! ( "{:?}" , self . colorBack ) ) . field ( "pFont" , & format_args ! ( "{:?}" , self . pFont ) ) . field ( "pUndoMgr" , & format_args ! ( "{:?}" , self . pUndoMgr ) ) . field ( "dwAppearance" , & format_args ! ( "{:?}" , self . dwAppearance ) ) . field ( "lcid" , & format_args ! ( "{:?}" , self . lcid ) ) . field ( "hpal" , & format_args ! ( "{:?}" , self . hpal ) ) . field ( "pBindHost" , & format_args ! ( "{:?}" , self . pBindHost ) ) . field ( "pOleControlSite" , & format_args ! ( "{:?}" , self . pOleControlSite ) ) . field ( "pServiceProvider" , & format_args ! ( "{:?}" , 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 :: Gdi :: HPALETTE , pub pBindHost : :: windows :: RawPtr , pub pOleControlSite : :: windows :: RawPtr , pub pServiceProvider : :: windows :: RawPtr } unsafe impl :: windows :: Abi for QACONTAINER { type Abi = QACONTAINER_abi ; } # [ 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 ) ; impl QACONTAINERFLAGS { pub const QACONTAINER_SHOWHATCHING : Self = Self ( 1i32 ) ; pub const QACONTAINER_SHOWGRABHANDLES : Self = Self ( 2i32 ) ; pub const QACONTAINER_USERMODE : Self = Self ( 4i32 ) ; pub const QACONTAINER_DISPLAYASDEFAULT : Self = Self ( 8i32 ) ; pub const QACONTAINER_UIDEAD : Self = Self ( 16i32 ) ; pub const QACONTAINER_AUTOCLIP : Self = Self ( 32i32 ) ; pub const QACONTAINER_MESSAGEREFLECT : Self = Self ( 64i32 ) ; pub const QACONTAINER_SUPPORTSMNEMONICS : Self = Self ( 128i32 ) ; } impl :: std :: convert :: From < i32 > for QACONTAINERFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for QACONTAINERFLAGS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "dwMiscStatus" , & format_args ! ( "{:?}" , self . dwMiscStatus ) ) . field ( "dwViewStatus" , & format_args ! ( "{:?}" , self . dwViewStatus ) ) . field ( "dwEventCookie" , & format_args ! ( "{:?}" , self . dwEventCookie ) ) . field ( "dwPropNotifyCookie" , & format_args ! ( "{:?}" , self . dwPropNotifyCookie ) ) . field ( "dwPointerActivationPolicy" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl REGCLS { pub const REGCLS_SINGLEUSE : Self = Self ( 0i32 ) ; pub const REGCLS_MULTIPLEUSE : Self = Self ( 1i32 ) ; pub const REGCLS_MULTI_SEPARATE : Self = Self ( 2i32 ) ; pub const REGCLS_SUSPENDED : Self = Self ( 4i32 ) ; pub const REGCLS_SURROGATE : Self = Self ( 8i32 ) ; pub const REGCLS_AGILE : Self = Self ( 16i32 ) ; } impl :: std :: convert :: From < i32 > for REGCLS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REGCLS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct REMSECURITY_ATTRIBUTES { pub nLength : u32 , pub lpSecurityDescriptor : u32 , pub bInheritHandle : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . nLength ) ) . field ( "lpSecurityDescriptor" , & format_args ! ( "{:?}" , self . lpSecurityDescriptor ) ) . field ( "bInheritHandle" , & format_args ! ( "{:?}" , 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 ; } pub const ROTREGFLAGS_ALLOWANYCLIENT : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . reserved1 ) ) . field ( "dataRepresentation" , & format_args ! ( "{:?}" , self . dataRepresentation ) ) . field ( "Buffer" , & format_args ! ( "{:?}" , self . Buffer ) ) . field ( "cbBuffer" , & format_args ! ( "{:?}" , self . cbBuffer ) ) . field ( "iMethod" , & format_args ! ( "{:?}" , self . iMethod ) ) . field ( "reserved2" , & format_args ! ( "{:?}" , self . reserved2 ) ) . field ( "rpcFlags" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl RPCOPT_PROPERTIES { pub const COMBND_RPCTIMEOUT : Self = Self ( 1i32 ) ; pub const COMBND_SERVER_LOCALITY : Self = Self ( 2i32 ) ; pub const COMBND_RESERVED1 : Self = Self ( 4i32 ) ; pub const COMBND_RESERVED2 : Self = Self ( 5i32 ) ; pub const COMBND_RESERVED3 : Self = Self ( 8i32 ) ; pub const COMBND_RESERVED4 : Self = Self ( 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 ; } # [ 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 ) ; impl RPCOPT_SERVER_LOCALITY_VALUES { pub const SERVER_LOCALITY_PROCESS_LOCAL : Self = Self ( 0i32 ) ; pub const SERVER_LOCALITY_MACHINE_LOCAL : Self = Self ( 1i32 ) ; pub const SERVER_LOCALITY_REMOTE : Self = Self ( 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 ; } pub unsafe fn RegisterBindStatusCallback < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( pbc : T0__ , pbscb : T1__ , ppbscbprev : * mut :: std :: option :: Option < IBindStatusCallback > , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterDragDrop < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , T1__ : :: windows :: IntoParam < 'a , IDropTarget > , > ( hwnd : T0__ , pdroptarget : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterFormatEnumerator < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IEnumFORMATETC > , > ( pbc : T0__ , pefetc : T1__ , reserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterMediaTypeClass < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , > ( pbc : T0__ , ctypes : u32 , rgsztypes : * const super :: SystemServices :: PSTR , rgclsid : * mut :: windows :: Guid , reserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterMediaTypes < > ( ctypes : u32 , rgsztypes : * const super :: SystemServices :: PSTR , rgcftypes : * mut u16 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseBindInfo < > ( pbindinfo : * mut BINDINFO , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseStgMedium < > ( param0 : * mut STGMEDIUM , ) { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct RemBINDINFO { pub cbSize : u32 , pub szExtraInfo : super :: SystemServices :: PWSTR , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "szExtraInfo" , & format_args ! ( "{:?}" , self . szExtraInfo ) ) . field ( "grfBindInfoF" , & format_args ! ( "{:?}" , self . grfBindInfoF ) ) . field ( "dwBindVerb" , & format_args ! ( "{:?}" , self . dwBindVerb ) ) . field ( "szCustomVerb" , & format_args ! ( "{:?}" , self . szCustomVerb ) ) . field ( "cbstgmedData" , & format_args ! ( "{:?}" , self . cbstgmedData ) ) . field ( "dwOptions" , & format_args ! ( "{:?}" , self . dwOptions ) ) . field ( "dwOptionsFlags" , & format_args ! ( "{:?}" , self . dwOptionsFlags ) ) . field ( "dwCodePage" , & format_args ! ( "{:?}" , self . dwCodePage ) ) . field ( "securityAttributes" , & format_args ! ( "{:?}" , self . securityAttributes ) ) . field ( "iid" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "pUnk" , & format_args ! ( "{:?}" , self . pUnk ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , 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 :: SystemServices :: PWSTR , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super :: SystemServices :: 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cfFormat ) ) . field ( "ptd" , & format_args ! ( "{:?}" , self . ptd ) ) . field ( "dwAspect" , & format_args ! ( "{:?}" , self . dwAspect ) ) . field ( "lindex" , & format_args ! ( "{:?}" , self . lindex ) ) . field ( "tymed" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . tymed ) ) . field ( "dwHandleType" , & format_args ! ( "{:?}" , self . dwHandleType ) ) . field ( "pData" , & format_args ! ( "{:?}" , self . pData ) ) . field ( "pUnkForRelease" , & format_args ! ( "{:?}" , self . pUnkForRelease ) ) . field ( "cbData" , & format_args ! ( "{:?}" , self . cbData ) ) . field ( "data" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn RevokeBindStatusCallback < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( pbc : T0__ , pbscb : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RevokeDragDrop < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( hwnd : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RevokeFormatEnumerator < 'a , T0__ : :: windows :: IntoParam < 'a , IBindCtx > , T1__ : :: windows :: IntoParam < 'a , IEnumFORMATETC > , > ( pbc : T0__ , pefetc : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "uCausality" , & format_args ! ( "{:?}" , self . uCausality ) ) . field ( "dwServerPid" , & format_args ! ( "{:?}" , self . dwServerPid ) ) . field ( "iMethod" , & format_args ! ( "{:?}" , self . iMethod ) ) . field ( "pObject" , & format_args ! ( "{:?}" , 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 ; } pub const SECURITY_IE_STATE_GREEN : u32 = 0u32 ; pub const SECURITY_IE_STATE_RED : u32 = 1u32 ; pub const SELFREG_E_CLASS : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220991i32 as _ ) ; pub const SELFREG_E_FIRST : i32 = -2147220992i32 ; pub const SELFREG_E_TYPELIB : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147220992i32 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 ) ; impl SERVERCALL { pub const SERVERCALL_ISHANDLED : Self = Self ( 0i32 ) ; pub const SERVERCALL_REJECTED : Self = Self ( 1i32 ) ; pub const SERVERCALL_RETRYLATER : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for SERVERCALL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SERVERCALL { type Abi = 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 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "pData" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn SNB_UserFree < > ( param0 : * mut u32 , param1 : * mut * mut * mut u16 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserFree64 < > ( param0 : * mut u32 , param1 : * mut * mut * mut u16 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut * mut * mut u16 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut * mut * mut u16 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { panic ! ( "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 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . dwAuthnSvc ) ) . field ( "dwAuthzSvc" , & format_args ! ( "{:?}" , self . dwAuthzSvc ) ) . field ( "pAuthInfo" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cAuthInfo ) ) . field ( "aAuthInfo" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . formatetc ) ) . field ( "advf" , & format_args ! ( "{:?}" , self . advf ) ) . field ( "pAdvSink" , & format_args ! ( "{:?}" , self . pAdvSink ) ) . field ( "dwConnection" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl STDMSHLFLAGS { pub const SMEXF_SERVER : Self = Self ( 1i32 ) ; pub const SMEXF_HANDLER : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for STDMSHLFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STDMSHLFLAGS { type Abi = 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 ) ; impl SZM_FLAGS { pub const SZM_CREATE : Self = Self ( 0i32 ) ; pub const SZM_DELETE : Self = Self ( 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 ; } pub unsafe fn SetAccessForIEAppContainer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hobject : T0__ , ieobjecttype : IEObjectType , dwaccessmask : u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSoftwareUpdateAdvertisementState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szdistunit : T0__ , dwadstate : u32 , dwadvertisedversionms : u32 , dwadvertisedversionls : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 ) ; impl ShutdownType { pub const IdleShutdown : Self = Self ( 0i32 ) ; pub const ForcedShutdown : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for ShutdownType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ShutdownType { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . iid ) ) . field ( "pIBindCtx" , & format_args ! ( "{:?}" , self . pIBindCtx ) ) . field ( "pItf" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn StringFromCLSID < > ( rclsid : * const :: windows :: Guid , lplpsz : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn StringFromGUID2 < > ( rguid : * const :: windows :: Guid , lpsz : super :: SystemServices :: PWSTR , cchmax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn StringFromIID < > ( rclsid : * const :: windows :: Guid , lplpsz : * mut super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode { panic ! ( "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 ) ; impl THDTYPE { pub const THDTYPE_BLOCKMESSAGES : Self = Self ( 0i32 ) ; pub const THDTYPE_PROCESSMESSAGES : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for THDTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for THDTYPE { type Abi = 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 ) ; impl TYMED { pub const TYMED_HGLOBAL : Self = Self ( 1i32 ) ; pub const TYMED_FILE : Self = Self ( 2i32 ) ; pub const TYMED_ISTREAM : Self = Self ( 4i32 ) ; pub const TYMED_ISTORAGE : Self = Self ( 8i32 ) ; pub const TYMED_GDI : Self = Self ( 16i32 ) ; pub const TYMED_MFPICT : Self = Self ( 32i32 ) ; pub const TYMED_ENHMF : Self = Self ( 64i32 ) ; pub const TYMED_NULL : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for TYMED { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TYMED { type Abi = 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 ) ; impl TYSPEC { pub const TYSPEC_CLSID : Self = Self ( 0i32 ) ; pub const TYSPEC_FILEEXT : Self = Self ( 1i32 ) ; pub const TYSPEC_MIMETYPE : Self = Self ( 2i32 ) ; pub const TYSPEC_FILENAME : Self = Self ( 3i32 ) ; pub const TYSPEC_PROGID : Self = Self ( 4i32 ) ; pub const TYSPEC_PACKAGENAME : Self = Self ( 5i32 ) ; pub const TYSPEC_OBJECTID : Self = Self ( 6i32 ) ; } impl :: std :: convert :: From < i32 > for TYSPEC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TYSPEC { type Abi = 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 ) ; impl UASFLAGS { pub const UAS_NORMAL : Self = Self ( 0i32 ) ; pub const UAS_BLOCKED : Self = Self ( 1i32 ) ; pub const UAS_NOPARENTENABLE : Self = Self ( 2i32 ) ; pub const UAS_MASK : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for UASFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UASFLAGS { type Abi = 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 ) ; impl UPDFCACHE_FLAGS { pub const UPDFCACHE_ALL : Self = Self ( 2147483647u32 ) ; pub const UPDFCACHE_ALLBUTNODATACACHE : Self = Self ( 2147483646u32 ) ; pub const UPDFCACHE_NORMALCACHE : Self = Self ( 8u32 ) ; pub const UPDFCACHE_IFBLANK : Self = Self ( 16u32 ) ; pub const UPDFCACHE_ONLYIFBLANK : Self = Self ( 2147483648u32 ) ; pub const UPDFCACHE_NODATACACHE : Self = Self ( 1u32 ) ; pub const UPDFCACHE_ONSAVECACHE : Self = Self ( 2u32 ) ; pub const UPDFCACHE_ONSTOPCACHE : Self = Self ( 4u32 ) ; pub const UPDFCACHE_IFBLANKORONSAVECACHE : Self = Self ( 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 ; } 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 ) } } 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 , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T5__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : super :: SystemServices :: PSTR , cchfilename : u32 , param4 : u32 , param5 : T5__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLDownloadToCacheFileW < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : super :: SystemServices :: PWSTR , cchfilename : u32 , param4 : u32 , param5 : T5__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLDownloadToFileA < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : T2__ , param3 : u32 , param4 : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLDownloadToFileW < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : T2__ , param3 : u32 , param4 : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "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 , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : * mut :: std :: option :: Option < super :: StructuredStorage :: IStream > , param3 : u32 , param4 : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenBlockingStreamW < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : * mut :: std :: option :: Option < super :: StructuredStorage :: IStream > , param3 : u32 , param4 : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenPullStreamA < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : u32 , param3 : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenPullStreamW < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : u32 , param3 : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenStreamA < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : u32 , param3 : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenStreamW < 'a , T0__ : :: windows :: IntoParam < 'a , :: windows :: IUnknown > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , IBindStatusCallback > , > ( param0 : T0__ , param1 : T1__ , param2 : u32 , param3 : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "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 ) ; impl URLTEMPLATE { pub const URLTEMPLATE_CUSTOM : Self = Self ( 0i32 ) ; pub const URLTEMPLATE_PREDEFINED_MIN : Self = Self ( 65536i32 ) ; pub const URLTEMPLATE_LOW : Self = Self ( 65536i32 ) ; pub const URLTEMPLATE_MEDLOW : Self = Self ( 66816i32 ) ; pub const URLTEMPLATE_MEDIUM : Self = Self ( 69632i32 ) ; pub const URLTEMPLATE_MEDHIGH : Self = Self ( 70912i32 ) ; pub const URLTEMPLATE_HIGH : Self = Self ( 73728i32 ) ; pub const URLTEMPLATE_PREDEFINED_MAX : Self = Self ( 131072i32 ) ; } impl :: std :: convert :: From < i32 > for URLTEMPLATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URLTEMPLATE { type Abi = 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 ) ; impl URLZONE { pub const URLZONE_INVALID : Self = Self ( -1i32 ) ; pub const URLZONE_PREDEFINED_MIN : Self = Self ( 0i32 ) ; pub const URLZONE_LOCAL_MACHINE : Self = Self ( 0i32 ) ; pub const URLZONE_INTRANET : Self = Self ( 1i32 ) ; pub const URLZONE_TRUSTED : Self = Self ( 2i32 ) ; pub const URLZONE_INTERNET : Self = Self ( 3i32 ) ; pub const URLZONE_UNTRUSTED : Self = Self ( 4i32 ) ; pub const URLZONE_PREDEFINED_MAX : Self = Self ( 999i32 ) ; pub const URLZONE_USER_MIN : Self = Self ( 1000i32 ) ; pub const URLZONE_USER_MAX : Self = Self ( 10000i32 ) ; } impl :: std :: convert :: From < i32 > for URLZONE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URLZONE { type Abi = 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 ) ; impl URLZONEREG { pub const URLZONEREG_DEFAULT : Self = Self ( 0i32 ) ; pub const URLZONEREG_HKLM : Self = Self ( 1i32 ) ; pub const URLZONEREG_HKCU : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for URLZONEREG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URLZONEREG { type Abi = 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 ) ; impl URL_ENCODING { pub const URL_ENCODING_NONE : Self = Self ( 0i32 ) ; pub const URL_ENCODING_ENABLE_UTF8 : Self = Self ( 268435456i32 ) ; pub const URL_ENCODING_DISABLE_UTF8 : Self = Self ( 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 ; } 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 ) ; impl USERCLASSTYPE { pub const USERCLASSTYPE_FULL : Self = Self ( 1i32 ) ; pub const USERCLASSTYPE_SHORT : Self = Self ( 2i32 ) ; pub const USERCLASSTYPE_APPNAME : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for USERCLASSTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for USERCLASSTYPE { type Abi = 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 ) ; impl Uri_HOST_TYPE { pub const Uri_HOST_UNKNOWN : Self = Self ( 0i32 ) ; pub const Uri_HOST_DNS : Self = Self ( 1i32 ) ; pub const Uri_HOST_IPV4 : Self = Self ( 2i32 ) ; pub const Uri_HOST_IPV6 : Self = Self ( 3i32 ) ; pub const Uri_HOST_IDN : Self = Self ( 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 ; } # [ 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 ) ; impl Uri_PROPERTY { pub const Uri_PROPERTY_ABSOLUTE_URI : Self = Self ( 0i32 ) ; pub const Uri_PROPERTY_STRING_START : Self = Self ( 0i32 ) ; pub const Uri_PROPERTY_AUTHORITY : Self = Self ( 1i32 ) ; pub const Uri_PROPERTY_DISPLAY_URI : Self = Self ( 2i32 ) ; pub const Uri_PROPERTY_DOMAIN : Self = Self ( 3i32 ) ; pub const Uri_PROPERTY_EXTENSION : Self = Self ( 4i32 ) ; pub const Uri_PROPERTY_FRAGMENT : Self = Self ( 5i32 ) ; pub const Uri_PROPERTY_HOST : Self = Self ( 6i32 ) ; pub const Uri_PROPERTY_PASSWORD : Self = Self ( 7i32 ) ; pub const Uri_PROPERTY_PATH : Self = Self ( 8i32 ) ; pub const Uri_PROPERTY_PATH_AND_QUERY : Self = Self ( 9i32 ) ; pub const Uri_PROPERTY_QUERY : Self = Self ( 10i32 ) ; pub const Uri_PROPERTY_RAW_URI : Self = Self ( 11i32 ) ; pub const Uri_PROPERTY_SCHEME_NAME : Self = Self ( 12i32 ) ; pub const Uri_PROPERTY_USER_INFO : Self = Self ( 13i32 ) ; pub const Uri_PROPERTY_USER_NAME : Self = Self ( 14i32 ) ; pub const Uri_PROPERTY_STRING_LAST : Self = Self ( 14i32 ) ; pub const Uri_PROPERTY_HOST_TYPE : Self = Self ( 15i32 ) ; pub const Uri_PROPERTY_DWORD_START : Self = Self ( 15i32 ) ; pub const Uri_PROPERTY_PORT : Self = Self ( 16i32 ) ; pub const Uri_PROPERTY_SCHEME : Self = Self ( 17i32 ) ; pub const Uri_PROPERTY_ZONE : Self = Self ( 18i32 ) ; pub const Uri_PROPERTY_DWORD_LAST : Self = Self ( 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 ; } 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 :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UrlMkSetSessionOption < > ( dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 , ) -> :: windows :: ErrorCode { panic ! ( "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 ) ; impl VIEWSTATUS { pub const VIEWSTATUS_OPAQUE : Self = Self ( 1i32 ) ; pub const VIEWSTATUS_SOLIDBKGND : Self = Self ( 2i32 ) ; pub const VIEWSTATUS_DVASPECTOPAQUE : Self = Self ( 4i32 ) ; pub const VIEWSTATUS_DVASPECTTRANSPARENT : Self = Self ( 8i32 ) ; pub const VIEWSTATUS_SURFACE : Self = Self ( 16i32 ) ; pub const VIEWSTATUS_3DSURFACE : Self = Self ( 32i32 ) ; } impl :: std :: convert :: From < i32 > for VIEWSTATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VIEWSTATUS { type Abi = 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 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . clSize ) ) . field ( "asData" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl WPCSETTING { pub const WPCSETTING_LOGGING_ENABLED : Self = Self ( 1i32 ) ; pub const WPCSETTING_FILEDOWNLOAD_BLOCKED : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for WPCSETTING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WPCSETTING { type Abi = Self ; } pub unsafe fn WriteHitLogging < > ( lplogginginfo : * mut HIT_LOGGING_INFO , ) -> super :: SystemServices :: BOOL { panic ! ( "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 ) ; impl XFORMCOORDS { pub const XFORMCOORDS_POSITION : Self = Self ( 1i32 ) ; pub const XFORMCOORDS_SIZE : Self = Self ( 2i32 ) ; pub const XFORMCOORDS_HIMETRICTOCONTAINER : Self = Self ( 4i32 ) ; pub const XFORMCOORDS_CONTAINERTOHIMETRIC : Self = Self ( 8i32 ) ; pub const XFORMCOORDS_EVENTCOMPAT : Self = Self ( 16i32 ) ; } impl :: std :: convert :: From < i32 > for XFORMCOORDS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for XFORMCOORDS { type Abi = 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 ) ; impl ZAFLAGS { pub const ZAFLAGS_CUSTOM_EDIT : Self = Self ( 1i32 ) ; pub const ZAFLAGS_ADD_SITES : Self = Self ( 2i32 ) ; pub const ZAFLAGS_REQUIRE_VERIFICATION : Self = Self ( 4i32 ) ; pub const ZAFLAGS_INCLUDE_PROXY_OVERRIDE : Self = Self ( 8i32 ) ; pub const ZAFLAGS_INCLUDE_INTRANET_SITES : Self = Self ( 16i32 ) ; pub const ZAFLAGS_NO_UI : Self = Self ( 32i32 ) ; pub const ZAFLAGS_SUPPORTS_VERIFICATION : Self = Self ( 64i32 ) ; pub const ZAFLAGS_UNC_AS_INTRANET : Self = Self ( 128i32 ) ; pub const ZAFLAGS_DETECT_INTRANET : Self = Self ( 256i32 ) ; pub const ZAFLAGS_USE_LOCKED_ZONES : Self = Self ( 65536i32 ) ; pub const ZAFLAGS_VERIFY_TEMPLATE_SETTINGS : Self = Self ( 131072i32 ) ; pub const ZAFLAGS_NO_CACHE : Self = Self ( 262144i32 ) ; } impl :: std :: convert :: From < i32 > for ZAFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ZAFLAGS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "szDisplayName" , & format_args ! ( "{:?}" , self . szDisplayName ) ) . field ( "szDescription" , & format_args ! ( "{:?}" , self . szDescription ) ) . field ( "szIconPath" , & format_args ! ( "{:?}" , self . szIconPath ) ) . field ( "dwTemplateMinLevel" , & format_args ! ( "{:?}" , self . dwTemplateMinLevel ) ) . field ( "dwTemplateRecommended" , & format_args ! ( "{:?}" , self . dwTemplateRecommended ) ) . field ( "dwTemplateCurrentLevel" , & format_args ! ( "{:?}" , self . dwTemplateCurrentLevel ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userSTGMEDIUM_0 { pub tymed : u32 , pub u : userSTGMEDIUM_0_0 } impl userSTGMEDIUM_0 { } unsafe impl :: windows :: Abi for userSTGMEDIUM_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 :: SystemServices :: PWSTR , pub pstm : * mut BYTE_BLOB , pub pstg : * mut BYTE_BLOB } impl userSTGMEDIUM_0_0 { } unsafe impl :: windows :: Abi for userSTGMEDIUM_0_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] 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" , & format_args ! ( "{:?}" , self . ContextFlags ) ) . field ( "fPassOwnership" , & format_args ! ( "{:?}" , self . fPassOwnership ) ) . field ( "Stgmed" , & format_args ! ( "{:?}" , 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 ; } } # [ 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 :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LPFNPSPCALLBACK_uMsg ( pub u32 ) ; impl LPFNPSPCALLBACK_uMsg { pub const PSPCB_ADDREF : Self = Self ( 0u32 ) ; pub const PSPCB_CREATE : Self = Self ( 2u32 ) ; pub const PSPCB_RELEASE : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for LPFNPSPCALLBACK_uMsg { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LPFNPSPCALLBACK_uMsg { type Abi = Self ; } impl :: std :: ops :: BitOr for LPFNPSPCALLBACK_uMsg { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LPFNPSPCALLBACK_uMsg { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LPFNPSPCALLBACK_uMsg { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LPFNPSPCALLBACK_uMsg { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPFNPSPCALLBACKA = extern "system" fn ( hwnd : super :: WindowsAndMessaging :: HWND , umsg : LPFNPSPCALLBACK_uMsg , ppsp : * mut PROPSHEETPAGEA ) -> u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETPAGEA { pub dwSize : u32 , pub dwFlags : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub Anonymous1 : PROPSHEETPAGEA_0 , pub Anonymous2 : PROPSHEETPAGEA_1 , pub pszTitle : super :: SystemServices :: PSTR , pub pfnDlgProc : :: std :: option :: Option < super :: WindowsAndMessaging :: DLGPROC > , pub lParam : super :: WindowsAndMessaging :: LPARAM , pub pfnCallback : :: std :: option :: Option < LPFNPSPCALLBACKA > , pub pcRefParent : * mut u32 , pub pszHeaderTitle : super :: SystemServices :: PSTR , pub pszHeaderSubTitle : super :: SystemServices :: PSTR , pub hActCtx : super :: SystemServices :: HANDLE , pub Anonymous3 : PROPSHEETPAGEA_2 } impl PROPSHEETPAGEA { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETPAGEA_0 { pub pszTemplate : super :: SystemServices :: PSTR , pub pResource : * mut super :: WindowsAndMessaging :: DLGTEMPLATE } impl PROPSHEETPAGEA_0 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETPAGEA_1 { pub hIcon : super :: MenusAndResources :: HICON , pub pszIcon : super :: SystemServices :: PSTR } impl PROPSHEETPAGEA_1 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA_1 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETPAGEA_2 { pub hbmHeader : super :: Gdi :: HBITMAP , pub pszbmHeader : super :: SystemServices :: PSTR } impl PROPSHEETPAGEA_2 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA_2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HPROPSHEETPAGE ( pub isize ) ; impl HPROPSHEETPAGE { } impl :: std :: default :: Default for HPROPSHEETPAGE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HPROPSHEETPAGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPROPSHEETPAGE" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } pub type PFNPROPSHEETCALLBACK = extern "system" fn ( param0 : super :: WindowsAndMessaging :: HWND , param1 : u32 , param2 : super :: WindowsAndMessaging :: LPARAM ) -> i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETHEADERA_V2 { pub dwSize : u32 , pub dwFlags : u32 , pub hwndParent : super :: WindowsAndMessaging :: HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Anonymous1 : PROPSHEETHEADERA_V2_0 , pub pszCaption : super :: SystemServices :: 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 :: Gdi :: HPALETTE , pub Anonymous5 : PROPSHEETHEADERA_V2_4 } impl PROPSHEETHEADERA_V2 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERA_V2_0 { pub hIcon : super :: MenusAndResources :: HICON , pub pszIcon : super :: SystemServices :: PSTR } impl PROPSHEETHEADERA_V2_0 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERA_V2_1 { pub nStartPage : u32 , pub pStartPage : super :: SystemServices :: PSTR } impl PROPSHEETHEADERA_V2_1 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_1 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERA_V2_2 { pub ppsp : * mut PROPSHEETPAGEA , pub phpage : * mut HPROPSHEETPAGE } impl PROPSHEETHEADERA_V2_2 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERA_V2_3 { pub hbmWatermark : super :: Gdi :: HBITMAP , pub pszbmWatermark : super :: SystemServices :: PSTR } impl PROPSHEETHEADERA_V2_3 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_3 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERA_V2_4 { pub hbmHeader : super :: Gdi :: HBITMAP , pub pszbmHeader : super :: SystemServices :: PSTR } impl PROPSHEETHEADERA_V2_4 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_4 { type Abi = Self ; } pub type LPFNPSPCALLBACKW = extern "system" fn ( hwnd : super :: WindowsAndMessaging :: HWND , umsg : LPFNPSPCALLBACK_uMsg , ppsp : * mut PROPSHEETPAGEW ) -> u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETPAGEW { pub dwSize : u32 , pub dwFlags : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub Anonymous1 : PROPSHEETPAGEW_0 , pub Anonymous2 : PROPSHEETPAGEW_1 , pub pszTitle : super :: SystemServices :: PWSTR , pub pfnDlgProc : :: std :: option :: Option < super :: WindowsAndMessaging :: DLGPROC > , pub lParam : super :: WindowsAndMessaging :: LPARAM , pub pfnCallback : :: std :: option :: Option < LPFNPSPCALLBACKW > , pub pcRefParent : * mut u32 , pub pszHeaderTitle : super :: SystemServices :: PWSTR , pub pszHeaderSubTitle : super :: SystemServices :: PWSTR , pub hActCtx : super :: SystemServices :: HANDLE , pub Anonymous3 : PROPSHEETPAGEW_2 } impl PROPSHEETPAGEW { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETPAGEW_0 { pub pszTemplate : super :: SystemServices :: PWSTR , pub pResource : * mut super :: WindowsAndMessaging :: DLGTEMPLATE } impl PROPSHEETPAGEW_0 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETPAGEW_1 { pub hIcon : super :: MenusAndResources :: HICON , pub pszIcon : super :: SystemServices :: PWSTR } impl PROPSHEETPAGEW_1 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW_1 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETPAGEW_2 { pub hbmHeader : super :: Gdi :: HBITMAP , pub pszbmHeader : super :: SystemServices :: PWSTR } impl PROPSHEETPAGEW_2 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW_2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETHEADERW_V2 { pub dwSize : u32 , pub dwFlags : u32 , pub hwndParent : super :: WindowsAndMessaging :: HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Anonymous1 : PROPSHEETHEADERW_V2_0 , pub pszCaption : super :: SystemServices :: 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 :: Gdi :: HPALETTE , pub Anonymous5 : PROPSHEETHEADERW_V2_4 } impl PROPSHEETHEADERW_V2 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERW_V2_0 { pub hIcon : super :: MenusAndResources :: HICON , pub pszIcon : super :: SystemServices :: PWSTR } impl PROPSHEETHEADERW_V2_0 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERW_V2_1 { pub nStartPage : u32 , pub pStartPage : super :: SystemServices :: PWSTR } impl PROPSHEETHEADERW_V2_1 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_1 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERW_V2_2 { pub ppsp : * mut PROPSHEETPAGEW , pub phpage : * mut HPROPSHEETPAGE } impl PROPSHEETHEADERW_V2_2 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_2 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERW_V2_3 { pub hbmWatermark : super :: Gdi :: HBITMAP , pub pszbmWatermark : super :: SystemServices :: PWSTR } impl PROPSHEETHEADERW_V2_3 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_3 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPSHEETHEADERW_V2_4 { pub hbmHeader : super :: Gdi :: HBITMAP , pub pszbmHeader : super :: SystemServices :: PWSTR } impl PROPSHEETHEADERW_V2_4 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_4 { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ImageListLoadImage_uFlags ( pub u32 ) ; impl ImageListLoadImage_uFlags { pub const LR_CREATEDIBSECTION : Self = Self ( 8192u32 ) ; pub const LR_DEFAULTCOLOR : Self = Self ( 0u32 ) ; pub const LR_DEFAULTSIZE : Self = Self ( 64u32 ) ; pub const LR_LOADFROMFILE : Self = Self ( 16u32 ) ; pub const LR_LOADMAP3DCOLORS : Self = Self ( 4096u32 ) ; pub const LR_LOADTRANSPARENT : Self = Self ( 32u32 ) ; pub const LR_MONOCHROME : Self = Self ( 1u32 ) ; pub const LR_SHARED : Self = Self ( 32768u32 ) ; pub const LR_VGACOLOR : Self = Self ( 128u32 ) ; pub const LR_COPYDELETEORG : Self = Self ( 8u32 ) ; pub const LR_COPYFROMRESOURCE : Self = Self ( 16384u32 ) ; pub const LR_COPYRETURNORG : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for ImageListLoadImage_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ImageListLoadImage_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ImageListLoadImage_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ImageListLoadImage_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ImageListLoadImage_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ImageListLoadImage_uFlags { 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 SCROLLBAR_OBJID ( pub i32 ) ; impl SCROLLBAR_OBJID { pub const OBJID_CLIENT : Self = Self ( -4i32 ) ; pub const OBJID_HSCROLL : Self = Self ( -6i32 ) ; pub const OBJID_VSCROLL : Self = Self ( -5i32 ) ; } impl :: std :: convert :: From < i32 > for SCROLLBAR_OBJID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCROLLBAR_OBJID { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NMHDR { pub hwndFrom : super :: WindowsAndMessaging :: HWND , pub idFrom : usize , pub code : u32 } impl NMHDR { } impl :: std :: default :: Default for NMHDR { fn default ( ) -> Self { Self { hwndFrom : :: std :: default :: Default :: default ( ) , idFrom : 0 , code : 0 } } } impl :: std :: fmt :: Debug for NMHDR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NMHDR" ) . field ( "hwndFrom" , & format_args ! ( "{:?}" , self . hwndFrom ) ) . field ( "idFrom" , & format_args ! ( "{:?}" , self . idFrom ) ) . field ( "code" , & format_args ! ( "{:?}" , self . code ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NMHDR { fn eq ( & self , other : & Self ) -> bool { self . hwndFrom == other . hwndFrom && self . idFrom == other . idFrom && self . code == other . code } } impl :: std :: cmp :: Eq for NMHDR { } unsafe impl :: windows :: Abi for NMHDR { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod CoreAudio { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HTASK ( pub isize ) ; impl HTASK { } impl :: std :: default :: Default for HTASK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HTASK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HTASK" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DisplayDevices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . left ) ) . field ( "top" , & format_args ! ( "{:?}" , self . top ) ) . field ( "right" , & format_args ! ( "{:?}" , self . right ) ) . field ( "bottom" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Gdi { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HGDIOBJ ( pub isize ) ; impl HGDIOBJ { } impl :: std :: default :: Default for HGDIOBJ { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HGDIOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HGDIOBJ" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HBITMAP ( pub isize ) ; impl HBITMAP { } impl :: std :: default :: Default for HBITMAP { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HBITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBITMAP" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBITMAP { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HENHMETAFILE ( pub isize ) ; impl HENHMETAFILE { } impl :: std :: default :: Default for HENHMETAFILE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HENHMETAFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HENHMETAFILE" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . peRed ) ) . field ( "peGreen" , & format_args ! ( "{:?}" , self . peGreen ) ) . field ( "peBlue" , & format_args ! ( "{:?}" , self . peBlue ) ) . field ( "peFlags" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . palVersion ) ) . field ( "palNumEntries" , & format_args ! ( "{:?}" , self . palNumEntries ) ) . field ( "palPalEntry" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDC ( pub isize ) ; impl HDC { } impl :: std :: default :: Default for HDC { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDC" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HPALETTE ( pub isize ) ; impl HPALETTE { } impl :: std :: default :: Default for HPALETTE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPALETTE" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HRGN ( pub isize ) ; impl HRGN { } impl :: std :: default :: Default for HRGN { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRGN" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HRGN { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HMETAFILE ( pub isize ) ; impl HMETAFILE { } impl :: std :: default :: Default for HMETAFILE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HMETAFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMETAFILE" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } pub unsafe fn UpdateWindow < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HBRUSH ( pub isize ) ; impl HBRUSH { } impl :: std :: default :: Default for HBRUSH { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBRUSH" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBRUSH { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBRUSH { } unsafe impl :: windows :: Abi for HBRUSH { type Abi = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBRUSH { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . BlendOp ) ) . field ( "BlendFlags" , & format_args ! ( "{:?}" , self . BlendFlags ) ) . field ( "SourceConstantAlpha" , & format_args ! ( "{:?}" , self . SourceConstantAlpha ) ) . field ( "AlphaFormat" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod HiDpi { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_DPI_AWARENESS ( pub i32 ) ; impl PROCESS_DPI_AWARENESS { pub const PROCESS_DPI_UNAWARE : Self = Self ( 0i32 ) ; pub const PROCESS_SYSTEM_DPI_AWARE : Self = Self ( 1i32 ) ; pub const PROCESS_PER_MONITOR_DPI_AWARE : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for PROCESS_DPI_AWARENESS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_DPI_AWARENESS { type Abi = Self ; } pub unsafe fn SetProcessDpiAwareness < > ( value : PROCESS_DPI_AWARENESS , ) -> :: windows :: ErrorCode { panic ! ( "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 Kernel { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . LowPart ) ) . field ( "HighPart" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod KeyboardAndMouseInput { pub unsafe fn SetFocus < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( hwnd : T0__ , ) -> super :: WindowsAndMessaging :: HWND { panic ! ( "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 MenusAndResources { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HACCEL ( pub isize ) ; impl HACCEL { } impl :: std :: default :: Default for HACCEL { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HACCEL" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HICON ( pub isize ) ; impl HICON { } impl :: std :: default :: Default for HICON { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HICON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HICON" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HMENU ( pub isize ) ; impl HMENU { } impl :: std :: default :: Default for HMENU { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMENU" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HCURSOR ( pub isize ) ; impl HCURSOR { } impl :: std :: default :: Default for HCURSOR { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HCURSOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HCURSOR" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } impl < 'a > :: windows :: IntoParam < 'a , HICON > for HCURSOR { fn into_param ( self ) -> :: windows :: Param < 'a , HICON > { :: windows :: Param :: Owned ( HICON ( self . 0 ) ) } } } # [ 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 :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MULTIPLE_TRUSTEE_OPERATION ( pub i32 ) ; impl MULTIPLE_TRUSTEE_OPERATION { pub const NO_MULTIPLE_TRUSTEE : Self = Self ( 0i32 ) ; pub const TRUSTEE_IS_IMPERSONATE : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for MULTIPLE_TRUSTEE_OPERATION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MULTIPLE_TRUSTEE_OPERATION { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRUSTEE_FORM ( pub i32 ) ; impl TRUSTEE_FORM { pub const TRUSTEE_IS_SID : Self = Self ( 0i32 ) ; pub const TRUSTEE_IS_NAME : Self = Self ( 1i32 ) ; pub const TRUSTEE_BAD_FORM : Self = Self ( 2i32 ) ; pub const TRUSTEE_IS_OBJECTS_AND_SID : Self = Self ( 3i32 ) ; pub const TRUSTEE_IS_OBJECTS_AND_NAME : Self = Self ( 4i32 ) ; } impl :: std :: convert :: From < i32 > for TRUSTEE_FORM { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRUSTEE_FORM { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRUSTEE_TYPE ( pub i32 ) ; impl TRUSTEE_TYPE { pub const TRUSTEE_IS_UNKNOWN : Self = Self ( 0i32 ) ; pub const TRUSTEE_IS_USER : Self = Self ( 1i32 ) ; pub const TRUSTEE_IS_GROUP : Self = Self ( 2i32 ) ; pub const TRUSTEE_IS_DOMAIN : Self = Self ( 3i32 ) ; pub const TRUSTEE_IS_ALIAS : Self = Self ( 4i32 ) ; pub const TRUSTEE_IS_WELL_KNOWN_GROUP : Self = Self ( 5i32 ) ; pub const TRUSTEE_IS_DELETED : Self = Self ( 6i32 ) ; pub const TRUSTEE_IS_INVALID : Self = Self ( 7i32 ) ; pub const TRUSTEE_IS_COMPUTER : Self = Self ( 8i32 ) ; } impl :: std :: convert :: From < i32 > for TRUSTEE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRUSTEE_TYPE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TRUSTEE_A { pub pMultipleTrustee : * mut TRUSTEE_A , pub MultipleTrusteeOperation : MULTIPLE_TRUSTEE_OPERATION , pub TrusteeForm : TRUSTEE_FORM , pub TrusteeType : TRUSTEE_TYPE , pub ptstrName : super :: SystemServices :: PSTR } impl TRUSTEE_A { } impl :: std :: default :: Default for TRUSTEE_A { fn default ( ) -> Self { Self { pMultipleTrustee : :: std :: ptr :: null_mut ( ) , MultipleTrusteeOperation : :: std :: default :: Default :: default ( ) , TrusteeForm : :: std :: default :: Default :: default ( ) , TrusteeType : :: std :: default :: Default :: default ( ) , ptstrName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRUSTEE_A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRUSTEE_A" ) . field ( "pMultipleTrustee" , & format_args ! ( "{:?}" , self . pMultipleTrustee ) ) . field ( "MultipleTrusteeOperation" , & format_args ! ( "{:?}" , self . MultipleTrusteeOperation ) ) . field ( "TrusteeForm" , & format_args ! ( "{:?}" , self . TrusteeForm ) ) . field ( "TrusteeType" , & format_args ! ( "{:?}" , self . TrusteeType ) ) . field ( "ptstrName" , & format_args ! ( "{:?}" , self . ptstrName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRUSTEE_A { fn eq ( & self , other : & Self ) -> bool { self . pMultipleTrustee == other . pMultipleTrustee && self . MultipleTrusteeOperation == other . MultipleTrusteeOperation && self . TrusteeForm == other . TrusteeForm && self . TrusteeType == other . TrusteeType && self . ptstrName == other . ptstrName } } impl :: std :: cmp :: Eq for TRUSTEE_A { } unsafe impl :: windows :: Abi for TRUSTEE_A { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AddAuditAccess_AceFlags ( pub u32 ) ; impl AddAuditAccess_AceFlags { pub const CONTAINER_INHERIT_ACE : Self = Self ( 2u32 ) ; pub const FAILED_ACCESS_ACE_FLAG : Self = Self ( 128u32 ) ; pub const INHERIT_ONLY_ACE : Self = Self ( 8u32 ) ; pub const INHERITED_ACE : Self = Self ( 16u32 ) ; pub const NO_PROPAGATE_INHERIT_ACE : Self = Self ( 4u32 ) ; pub const OBJECT_INHERIT_ACE : Self = Self ( 1u32 ) ; pub const SUCCESSFUL_ACCESS_ACE_FLAG : Self = Self ( 64u32 ) ; pub const SUB_CONTAINERS_AND_OBJECTS_INHERIT : Self = Self ( 3u32 ) ; pub const SUB_CONTAINERS_ONLY_INHERIT : Self = Self ( 2u32 ) ; pub const SUB_OBJECTS_ONLY_INHERIT : Self = Self ( 1u32 ) ; pub const INHERIT_NO_PROPAGATE : Self = Self ( 4u32 ) ; pub const INHERIT_ONLY : Self = Self ( 8u32 ) ; pub const NO_INHERITANCE : Self = Self ( 0u32 ) ; pub const INHERIT_ONLY_ACE_ : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for AddAuditAccess_AceFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AddAuditAccess_AceFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for AddAuditAccess_AceFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for AddAuditAccess_AceFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for AddAuditAccess_AceFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for AddAuditAccess_AceFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TRUSTEE_W { pub pMultipleTrustee : * mut TRUSTEE_W , pub MultipleTrusteeOperation : MULTIPLE_TRUSTEE_OPERATION , pub TrusteeForm : TRUSTEE_FORM , pub TrusteeType : TRUSTEE_TYPE , pub ptstrName : super :: SystemServices :: PWSTR } impl TRUSTEE_W { } impl :: std :: default :: Default for TRUSTEE_W { fn default ( ) -> Self { Self { pMultipleTrustee : :: std :: ptr :: null_mut ( ) , MultipleTrusteeOperation : :: std :: default :: Default :: default ( ) , TrusteeForm : :: std :: default :: Default :: default ( ) , TrusteeType : :: std :: default :: Default :: default ( ) , ptstrName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRUSTEE_W { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRUSTEE_W" ) . field ( "pMultipleTrustee" , & format_args ! ( "{:?}" , self . pMultipleTrustee ) ) . field ( "MultipleTrusteeOperation" , & format_args ! ( "{:?}" , self . MultipleTrusteeOperation ) ) . field ( "TrusteeForm" , & format_args ! ( "{:?}" , self . TrusteeForm ) ) . field ( "TrusteeType" , & format_args ! ( "{:?}" , self . TrusteeType ) ) . field ( "ptstrName" , & format_args ! ( "{:?}" , self . ptstrName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRUSTEE_W { fn eq ( & self , other : & Self ) -> bool { self . pMultipleTrustee == other . pMultipleTrustee && self . MultipleTrusteeOperation == other . MultipleTrusteeOperation && self . TrusteeForm == other . TrusteeForm && self . TrusteeType == other . TrusteeType && self . ptstrName == other . ptstrName } } impl :: std :: cmp :: Eq for TRUSTEE_W { } unsafe impl :: windows :: Abi for TRUSTEE_W { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PSID ( pub isize ) ; impl PSID { } impl :: std :: default :: Default for PSID { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for PSID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PSID" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . AclRevision ) ) . field ( "Sbz1" , & format_args ! ( "{:?}" , self . Sbz1 ) ) . field ( "AclSize" , & format_args ! ( "{:?}" , self . AclSize ) ) . field ( "AceCount" , & format_args ! ( "{:?}" , self . AceCount ) ) . field ( "Sbz2" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SECURITY_DESCRIPTOR { pub Revision : u8 , pub Sbz1 : u8 , pub Control : u16 , pub Owner : PSID , pub Group : 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" , & format_args ! ( "{:?}" , self . Revision ) ) . field ( "Sbz1" , & format_args ! ( "{:?}" , self . Sbz1 ) ) . field ( "Control" , & format_args ! ( "{:?}" , self . Control ) ) . field ( "Owner" , & format_args ! ( "{:?}" , self . Owner ) ) . field ( "Group" , & format_args ! ( "{:?}" , self . Group ) ) . field ( "Sacl" , & format_args ! ( "{:?}" , self . Sacl ) ) . field ( "Dacl" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Shell { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SOFTDISTINFO { pub cbSize : u32 , pub dwFlags : u32 , pub dwAdState : u32 , pub szTitle : super :: SystemServices :: PWSTR , pub szAbstract : super :: SystemServices :: PWSTR , pub szHREF : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "dwAdState" , & format_args ! ( "{:?}" , self . dwAdState ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "szAbstract" , & format_args ! ( "{:?}" , self . szAbstract ) ) . field ( "szHREF" , & format_args ! ( "{:?}" , self . szHREF ) ) . field ( "dwInstalledVersionMS" , & format_args ! ( "{:?}" , self . dwInstalledVersionMS ) ) . field ( "dwInstalledVersionLS" , & format_args ! ( "{:?}" , self . dwInstalledVersionLS ) ) . field ( "dwUpdateVersionMS" , & format_args ! ( "{:?}" , self . dwUpdateVersionMS ) ) . field ( "dwUpdateVersionLS" , & format_args ! ( "{:?}" , self . dwUpdateVersionLS ) ) . field ( "dwAdvertisedVersionMS" , & format_args ! ( "{:?}" , self . dwAdvertisedVersionMS ) ) . field ( "dwAdvertisedVersionLS" , & format_args ! ( "{:?}" , self . dwAdvertisedVersionLS ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDROP ( pub isize ) ; impl HDROP { } impl :: std :: default :: Default for HDROP { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDROP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDROP" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDROP { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDROP { } unsafe impl :: windows :: Abi for HDROP { type Abi = Self ; } pub unsafe fn DragFinish < 'a , T0__ : :: windows :: IntoParam < 'a , HDROP > , > ( hdrop : T0__ , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DragQueryFileW < 'a , T0__ : :: windows :: IntoParam < 'a , HDROP > , > ( hdrop : T0__ , ifile : u32 , lpszfile : super :: SystemServices :: PWSTR , cch : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ITaskbarList ( :: windows :: IUnknown ) ; impl ITaskbarList { } unsafe impl :: windows :: Interface for ITaskbarList { type Vtable = ITaskbarList_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1459483458 ,64877 ,4560 , [ 149 ,138 ,0 ,96 ,151 ,201 ,160 ,144 ] , ) ; } impl ITaskbarList { pub unsafe fn HrInit < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn AddTab < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hwnd : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , ) } pub unsafe fn DeleteTab < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hwnd : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , ) } pub unsafe fn ActivateTab < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hwnd : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , ) } pub unsafe fn SetActiveAlt < 'a , T0__ : :: windows :: IntoParam < 'a , super :: WindowsAndMessaging :: HWND > , > ( & self , hwnd : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , ) } } impl :: std :: convert :: From < ITaskbarList > for :: windows :: IUnknown { fn from ( value : ITaskbarList ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ITaskbarList > for :: windows :: IUnknown { fn from ( value : & ITaskbarList ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ITaskbarList { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a ITaskbarList { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ITaskbarList_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super :: WindowsAndMessaging :: HWND , ) -> :: windows :: ErrorCode , ) ; pub const TaskbarList : :: windows :: Guid = :: windows :: Guid :: from_values ( 1459483460 ,64877 ,4560 , [ 149 ,138 ,0 ,96 ,151 ,201 ,160 ,144 ] , ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LOGFONTA { 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 : [ i8 ;32 ] } impl LOGFONTA { } impl :: std :: default :: Default for LOGFONTA { 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 LOGFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTA" ) . field ( "lfHeight" , & format_args ! ( "{:?}" , self . lfHeight ) ) . field ( "lfWidth" , & format_args ! ( "{:?}" , self . lfWidth ) ) . field ( "lfEscapement" , & format_args ! ( "{:?}" , self . lfEscapement ) ) . field ( "lfOrientation" , & format_args ! ( "{:?}" , self . lfOrientation ) ) . field ( "lfWeight" , & format_args ! ( "{:?}" , self . lfWeight ) ) . field ( "lfItalic" , & format_args ! ( "{:?}" , self . lfItalic ) ) . field ( "lfUnderline" , & format_args ! ( "{:?}" , self . lfUnderline ) ) . field ( "lfStrikeOut" , & format_args ! ( "{:?}" , self . lfStrikeOut ) ) . field ( "lfCharSet" , & format_args ! ( "{:?}" , self . lfCharSet ) ) . field ( "lfOutPrecision" , & format_args ! ( "{:?}" , self . lfOutPrecision ) ) . field ( "lfClipPrecision" , & format_args ! ( "{:?}" , self . lfClipPrecision ) ) . field ( "lfQuality" , & format_args ! ( "{:?}" , self . lfQuality ) ) . field ( "lfPitchAndFamily" , & format_args ! ( "{:?}" , self . lfPitchAndFamily ) ) . field ( "lfFaceName" , & format_args ! ( "{:?}" , self . lfFaceName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTA { 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 LOGFONTA { } unsafe impl :: windows :: Abi for LOGFONTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . lfHeight ) ) . field ( "lfWidth" , & format_args ! ( "{:?}" , self . lfWidth ) ) . field ( "lfEscapement" , & format_args ! ( "{:?}" , self . lfEscapement ) ) . field ( "lfOrientation" , & format_args ! ( "{:?}" , self . lfOrientation ) ) . field ( "lfWeight" , & format_args ! ( "{:?}" , self . lfWeight ) ) . field ( "lfItalic" , & format_args ! ( "{:?}" , self . lfItalic ) ) . field ( "lfUnderline" , & format_args ! ( "{:?}" , self . lfUnderline ) ) . field ( "lfStrikeOut" , & format_args ! ( "{:?}" , self . lfStrikeOut ) ) . field ( "lfCharSet" , & format_args ! ( "{:?}" , self . lfCharSet ) ) . field ( "lfOutPrecision" , & format_args ! ( "{:?}" , self . lfOutPrecision ) ) . field ( "lfClipPrecision" , & format_args ! ( "{:?}" , self . lfClipPrecision ) ) . field ( "lfQuality" , & format_args ! ( "{:?}" , self . lfQuality ) ) . field ( "lfPitchAndFamily" , & format_args ! ( "{:?}" , self . lfPitchAndFamily ) ) . field ( "lfFaceName" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HELPINFO { pub cbSize : u32 , pub iContextType : i32 , pub iCtrlId : i32 , pub hItemHandle : super :: SystemServices :: HANDLE , pub dwContextId : usize , pub MousePos : super :: DisplayDevices :: POINT } impl HELPINFO { } impl :: std :: default :: Default for HELPINFO { fn default ( ) -> Self { Self { cbSize : 0 , iContextType : 0 , iCtrlId : 0 , hItemHandle : :: std :: default :: Default :: default ( ) , dwContextId : 0 , MousePos : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HELPINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HELPINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iContextType" , & format_args ! ( "{:?}" , self . iContextType ) ) . field ( "iCtrlId" , & format_args ! ( "{:?}" , self . iCtrlId ) ) . field ( "hItemHandle" , & format_args ! ( "{:?}" , self . hItemHandle ) ) . field ( "dwContextId" , & format_args ! ( "{:?}" , self . dwContextId ) ) . field ( "MousePos" , & format_args ! ( "{:?}" , self . MousePos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HELPINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iContextType == other . iContextType && self . iCtrlId == other . iCtrlId && self . hItemHandle == other . hItemHandle && self . dwContextId == other . dwContextId && self . MousePos == other . MousePos } } impl :: std :: cmp :: Eq for HELPINFO { } unsafe impl :: windows :: Abi for HELPINFO { type Abi = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod StructuredStorage { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISequentialStream ( :: windows :: IUnknown ) ; impl ISequentialStream { } 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 ISequentialStream { pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) } pub unsafe fn Write < > ( & self , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbwritten ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IStream ( :: windows :: IUnknown ) ; impl IStream { } 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 IStream { pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) } pub unsafe fn Write < > ( & self , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbwritten ) , ) } pub unsafe fn SetSize < > ( & self , libnewsize : u64 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( libnewsize ) , ) } pub unsafe fn CopyTo < 'a , T0__ : :: windows :: IntoParam < 'a , IStream > , > ( & self , pstm : T0__ , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: ErrorCode { ( :: 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 ) , ) } pub unsafe fn Commit < > ( & self , grfcommitflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfcommitflags ) , ) } pub unsafe fn Revert < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn LockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) } pub unsafe fn UnlockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) } pub unsafe fn Clone < > ( & self , ppstm : * mut :: std :: option :: Option < IStream > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppstm ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , libnewsize : u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfcommitflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppstm : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IStorage ( :: windows :: IUnknown ) ; impl IStorage { } unsafe impl :: windows :: Interface for IStorage { type Vtable = IStorage_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 11 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl IStorage { pub unsafe fn CreateStream < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , grfmode : u32 , reserved1 : u32 , reserved2 : u32 , ppstm : * mut :: std :: option :: Option < IStream > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfmode ) , :: std :: mem :: transmute ( reserved1 ) , :: std :: mem :: transmute ( reserved2 ) , :: std :: mem :: transmute ( ppstm ) , ) } pub unsafe fn OpenStream < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , reserved1 : * mut :: std :: ffi :: c_void , grfmode : u32 , reserved2 : u32 , ppstm : * mut :: std :: option :: Option < IStream > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( reserved1 ) , :: std :: mem :: transmute ( grfmode ) , :: std :: mem :: transmute ( reserved2 ) , :: std :: mem :: transmute ( ppstm ) , ) } pub unsafe fn CreateStorage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , grfmode : u32 , reserved1 : u32 , reserved2 : u32 , ppstg : * mut :: std :: option :: Option < IStorage > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfmode ) , :: std :: mem :: transmute ( reserved1 ) , :: std :: mem :: transmute ( reserved2 ) , :: std :: mem :: transmute ( ppstg ) , ) } pub unsafe fn OpenStorage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IStorage > , > ( & self , pwcsname : T0__ , pstgpriority : T1__ , grfmode : u32 , snbexclude : * mut * mut u16 , reserved : u32 , ppstg : * mut :: std :: option :: Option < IStorage > , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , pstgpriority . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfmode ) , :: std :: mem :: transmute ( snbexclude ) , :: std :: mem :: transmute ( reserved ) , :: std :: mem :: transmute ( ppstg ) , ) } pub unsafe fn CopyTo < 'a , T3__ : :: windows :: IntoParam < 'a , IStorage > , > ( & self , ciidexclude : u32 , rgiidexclude : * const :: windows :: Guid , snbexclude : * mut * mut u16 , pstgdest : T3__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ciidexclude ) , :: std :: mem :: transmute ( rgiidexclude ) , :: std :: mem :: transmute ( snbexclude ) , pstgdest . into_param ( ) . abi ( ) , ) } pub unsafe fn MoveElementTo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , IStorage > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , pstgdest : T1__ , pwcsnewname : T2__ , grfflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , pstgdest . into_param ( ) . abi ( ) , pwcsnewname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfflags ) , ) } pub unsafe fn Commit < > ( & self , grfcommitflags : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfcommitflags ) , ) } pub unsafe fn Revert < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DestroyElement < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , ) } pub unsafe fn RenameElement < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsoldname : T0__ , pwcsnewname : T1__ , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pwcsoldname . into_param ( ) . abi ( ) , pwcsnewname . into_param ( ) . abi ( ) , ) } pub unsafe fn SetElementTimes < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( & self , pwcsname : T0__ , pctime : * const super :: WindowsProgramming :: FILETIME , patime : * const super :: WindowsProgramming :: FILETIME , pmtime : * const super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pctime ) , :: std :: mem :: transmute ( patime ) , :: std :: mem :: transmute ( pmtime ) , ) } pub unsafe fn SetClass < > ( & self , clsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( clsid ) , ) } pub unsafe fn SetStateBits < > ( & self , grfstatebits : u32 , grfmask : u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfstatebits ) , :: std :: mem :: transmute ( grfmask ) , ) } } impl :: std :: convert :: From < IStorage > for :: windows :: IUnknown { fn from ( value : IStorage ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IStorage > for :: windows :: IUnknown { fn from ( value : & IStorage ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IStorage { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IStorage { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IStorage_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: SystemServices :: PWSTR , grfmode : u32 , reserved1 : u32 , reserved2 : u32 , ppstm : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , reserved1 : * mut :: std :: ffi :: c_void , grfmode : u32 , reserved2 : u32 , ppstm : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , grfmode : u32 , reserved1 : u32 , reserved2 : u32 , ppstg : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , pstgpriority : :: windows :: RawPtr , grfmode : u32 , snbexclude : * mut * mut u16 , reserved : u32 , ppstg : * mut :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ciidexclude : u32 , rgiidexclude : * const :: windows :: Guid , snbexclude : * mut * mut u16 , pstgdest : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , pstgdest : :: windows :: RawPtr , pwcsnewname : super :: SystemServices :: PWSTR , grfflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfcommitflags : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsoldname : super :: SystemServices :: PWSTR , pwcsnewname : super :: SystemServices :: PWSTR , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super :: SystemServices :: PWSTR , pctime : * const super :: WindowsProgramming :: FILETIME , patime : * const super :: WindowsProgramming :: FILETIME , pmtime : * const super :: WindowsProgramming :: FILETIME , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , clsid : * const :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfstatebits : u32 , grfmask : u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PSTR ( pub * mut u8 ) ; 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 ; 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 , 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 ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PWSTR ( pub * mut u16 ) ; 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 ; 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 _ ) ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: default :: Default ) ] pub struct BOOL ( pub i32 ) ; 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 :: ErrorCode :: from_thread ( ) . into ( ) ) } } # [ inline ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: fmt :: Debug for BOOL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { let msg = if self . as_bool ( ) { "true" } else { "false" } ; fmt . write_str ( msg ) } } unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; } 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 ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SECURITY_ATTRIBUTES { pub nLength : u32 , pub lpSecurityDescriptor : * mut :: std :: ffi :: c_void , pub bInheritHandle : 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" , & format_args ! ( "{:?}" , self . nLength ) ) . field ( "lpSecurityDescriptor" , & format_args ! ( "{:?}" , self . lpSecurityDescriptor ) ) . field ( "bInheritHandle" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HINSTANCE ( pub isize ) ; impl HINSTANCE { } impl :: std :: default :: Default for HINSTANCE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HINSTANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HINSTANCE" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IServiceProvider ( :: windows :: IUnknown ) ; impl IServiceProvider { } 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 IServiceProvider { pub unsafe fn QueryService < > ( & self , guidservice : * const :: windows :: Guid , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( guidservice ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobject ) , ) } } 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 :: ErrorCode , pub unsafe 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 :: ErrorCode , ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HANDLE ( pub isize ) ; impl HANDLE { } impl :: std :: default :: Default for HANDLE { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLE" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl Uri_CREATE_FLAGS { pub const Uri_CREATE_ALLOW_RELATIVE : Self = Self ( 1u32 ) ; pub const Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME : Self = Self ( 2u32 ) ; pub const Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME : Self = Self ( 4u32 ) ; pub const Uri_CREATE_NOFRAG : Self = Self ( 8u32 ) ; pub const Uri_CREATE_NO_CANONICALIZE : Self = Self ( 16u32 ) ; pub const Uri_CREATE_CANONICALIZE : Self = Self ( 256u32 ) ; pub const Uri_CREATE_FILE_USE_DOS_PATH : Self = Self ( 32u32 ) ; pub const Uri_CREATE_DECODE_EXTRA_INFO : Self = Self ( 64u32 ) ; pub const Uri_CREATE_NO_DECODE_EXTRA_INFO : Self = Self ( 128u32 ) ; pub const Uri_CREATE_CRACK_UNKNOWN_SCHEMES : Self = Self ( 512u32 ) ; pub const Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES : Self = Self ( 1024u32 ) ; pub const Uri_CREATE_PRE_PROCESS_HTML_URI : Self = Self ( 2048u32 ) ; pub const Uri_CREATE_NO_PRE_PROCESS_HTML_URI : Self = Self ( 4096u32 ) ; pub const Uri_CREATE_IE_SETTINGS : Self = Self ( 8192u32 ) ; pub const Uri_CREATE_NO_IE_SETTINGS : Self = Self ( 16384u32 ) ; pub const Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS : Self = Self ( 32768u32 ) ; pub const Uri_CREATE_NORMALIZE_INTL_CHARACTERS : Self = Self ( 65536u32 ) ; pub const Uri_CREATE_CANONICALIZE_ABSOLUTE : Self = Self ( 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 ; } 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 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union CY { pub Anonymous : CY_0 , pub int64 : i64 } impl CY { } unsafe impl :: windows :: Abi for CY { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . Lo ) ) . field ( "Hi" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct uCLSSPEC { pub tyspec : u32 , pub tagged_union : uCLSSPEC_0 } impl uCLSSPEC { } unsafe impl :: windows :: Abi for uCLSSPEC { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union uCLSSPEC_0 { pub clsid : :: windows :: Guid , pub pFileExt : PWSTR , pub pMimeType : PWSTR , pub pProgId : PWSTR , pub pFileName : PWSTR , pub ByName : uCLSSPEC_0_0 , pub ByObjectId : uCLSSPEC_0_1 } impl uCLSSPEC_0 { } unsafe impl :: windows :: Abi for uCLSSPEC_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct uCLSSPEC_0_0 { pub pPackageName : 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" , & format_args ! ( "{:?}" , self . pPackageName ) ) . field ( "PolicyId" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . ObjectId ) ) . field ( "PolicyId" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . bmType ) ) . field ( "bmWidth" , & format_args ! ( "{:?}" , self . bmWidth ) ) . field ( "bmHeight" , & format_args ! ( "{:?}" , self . bmHeight ) ) . field ( "bmWidthBytes" , & format_args ! ( "{:?}" , self . bmWidthBytes ) ) . field ( "bmPlanes" , & format_args ! ( "{:?}" , self . bmPlanes ) ) . field ( "bmBitsPixel" , & format_args ! ( "{:?}" , self . bmBitsPixel ) ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "pBuffer" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userHBITMAP { pub fContext : i32 , pub u : userHBITMAP_0 } impl userHBITMAP { } unsafe impl :: windows :: Abi for userHBITMAP { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union userHBITMAP_0 { pub hInproc : i32 , pub hRemote : * mut userBITMAP , pub hInproc64 : i64 } impl userHBITMAP_0 { } unsafe impl :: windows :: Abi for userHBITMAP_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userHPALETTE { pub fContext : i32 , pub u : userHPALETTE_0 } impl userHPALETTE { } unsafe impl :: windows :: Abi for userHPALETTE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union userHPALETTE_0 { pub hInproc : i32 , pub hRemote : * mut super :: Gdi :: LOGPALETTE , pub hInproc64 : i64 } impl userHPALETTE_0 { } unsafe impl :: windows :: Abi for userHPALETTE_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userHGLOBAL { pub fContext : i32 , pub u : userHGLOBAL_0 } impl userHGLOBAL { } unsafe impl :: windows :: Abi for userHGLOBAL { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union userHGLOBAL_0 { pub hInproc : i32 , pub hRemote : * mut super :: Com :: FLAGGED_BYTE_BLOB , pub hInproc64 : i64 } impl userHGLOBAL_0 { } unsafe impl :: windows :: Abi for userHGLOBAL_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HRSRC ( pub isize ) ; impl HRSRC { } impl :: std :: default :: Default for HRSRC { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HRSRC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRSRC" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl CLIPBOARD_FORMATS { pub const CF_TEXT : Self = Self ( 1u32 ) ; pub const CF_BITMAP : Self = Self ( 2u32 ) ; pub const CF_METAFILEPICT : Self = Self ( 3u32 ) ; pub const CF_SYLK : Self = Self ( 4u32 ) ; pub const CF_DIF : Self = Self ( 5u32 ) ; pub const CF_TIFF : Self = Self ( 6u32 ) ; pub const CF_OEMTEXT : Self = Self ( 7u32 ) ; pub const CF_DIB : Self = Self ( 8u32 ) ; pub const CF_PALETTE : Self = Self ( 9u32 ) ; pub const CF_PENDATA : Self = Self ( 10u32 ) ; pub const CF_RIFF : Self = Self ( 11u32 ) ; pub const CF_WAVE : Self = Self ( 12u32 ) ; pub const CF_UNICODETEXT : Self = Self ( 13u32 ) ; pub const CF_ENHMETAFILE : Self = Self ( 14u32 ) ; pub const CF_HDROP : Self = Self ( 15u32 ) ; pub const CF_LOCALE : Self = Self ( 16u32 ) ; pub const CF_DIBV5 : Self = Self ( 17u32 ) ; pub const CF_MAX : Self = Self ( 18u32 ) ; pub const CF_OWNERDISPLAY : Self = Self ( 128u32 ) ; pub const CF_DSPTEXT : Self = Self ( 129u32 ) ; pub const CF_DSPBITMAP : Self = Self ( 130u32 ) ; pub const CF_DSPMETAFILEPICT : Self = Self ( 131u32 ) ; pub const CF_DSPENHMETAFILE : Self = Self ( 142u32 ) ; pub const CF_PRIVATEFIRST : Self = Self ( 512u32 ) ; pub const CF_PRIVATELAST : Self = Self ( 767u32 ) ; pub const CF_GDIOBJFIRST : Self = Self ( 768u32 ) ; pub const CF_GDIOBJLAST : Self = Self ( 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 ; } 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 ) } } pub const DRAGDROP_E_INVALIDHWND : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147221246i32 as _ ) ; pub const DV_E_FORMATETC : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147221404i32 as _ ) ; pub unsafe fn GetCurrentThreadId < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetModuleHandleA < 'a , T0__ : :: windows :: IntoParam < 'a , PSTR > , > ( lpmodulename : T0__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LRESULT ( pub i32 ) ; impl LRESULT { } impl :: std :: default :: Default for LRESULT { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for LRESULT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LRESULT" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userHMETAFILE { pub fContext : i32 , pub u : userHMETAFILE_0 } impl userHMETAFILE { } unsafe impl :: windows :: Abi for userHMETAFILE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union userHMETAFILE_0 { pub hInproc : i32 , pub hRemote : * mut super :: Com :: BYTE_BLOB , pub hInproc64 : i64 } impl userHMETAFILE_0 { } unsafe impl :: windows :: Abi for userHMETAFILE_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . mm ) ) . field ( "xExt" , & format_args ! ( "{:?}" , self . xExt ) ) . field ( "yExt" , & format_args ! ( "{:?}" , self . yExt ) ) . field ( "hMF" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userHMETAFILEPICT { pub fContext : i32 , pub u : userHMETAFILEPICT_0 } impl userHMETAFILEPICT { } unsafe impl :: windows :: Abi for userHMETAFILEPICT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union userHMETAFILEPICT_0 { pub hInproc : i32 , pub hRemote : * mut remoteMETAFILEPICT , pub hInproc64 : i64 } impl userHMETAFILEPICT_0 { } unsafe impl :: windows :: Abi for userHMETAFILEPICT_0 { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userHENHMETAFILE { pub fContext : i32 , pub u : userHENHMETAFILE_0 } impl userHENHMETAFILE { } unsafe impl :: windows :: Abi for userHENHMETAFILE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union userHENHMETAFILE_0 { pub hInproc : i32 , pub hRemote : * mut super :: Com :: BYTE_BLOB , pub hInproc64 : i64 } impl userHENHMETAFILE_0 { } unsafe impl :: windows :: Abi for userHENHMETAFILE_0 { type Abi = Self ; } pub type ENUMRESLANGPROCA = extern "system" fn ( hmodule : isize , lptype : PSTR , lpname : PSTR , wlanguage : u16 , lparam : isize ) -> BOOL ; pub type ENUMRESLANGPROCW = extern "system" fn ( hmodule : isize , lptype : PWSTR , lpname : PWSTR , wlanguage : u16 , lparam : isize ) -> BOOL ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 :: 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" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WinRT { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInspectable ( :: windows :: IUnknown ) ; impl IInspectable { } unsafe impl :: windows :: Interface for IInspectable { type Vtable = IInspectable_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2944852704 ,45357 ,19562 , [ 156 ,90 ,215 ,170 ,101 ,16 ,30 ,144 ] , ) ; } impl IInspectable { pub unsafe fn GetIids < > ( & self , iidcount : * mut u32 , iids : * mut * mut :: windows :: Guid , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iidcount ) , :: std :: mem :: transmute ( iids ) , ) } } impl :: std :: convert :: From < IInspectable > for :: windows :: IUnknown { fn from ( value : IInspectable ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInspectable > for :: windows :: IUnknown { fn from ( value : & IInspectable ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInspectable { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IInspectable { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInspectable_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iidcount : * mut u32 , iids : * mut * mut :: windows :: Guid , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( ) , ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsAndMessaging { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HWND ( pub isize ) ; impl HWND { } impl :: std :: default :: Default for HWND { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HWND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HWND" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WPARAM ( pub usize ) ; impl WPARAM { } impl :: std :: default :: Default for WPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for WPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WPARAM" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LPARAM ( pub isize ) ; impl LPARAM { } impl :: std :: default :: Default for LPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for LPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LPARAM" ) . field ( "Value" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSG { pub hwnd : HWND , pub message : u32 , pub wParam : WPARAM , pub lParam : LPARAM , pub time : u32 , pub pt : super :: DisplayDevices :: 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" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "pt" , & format_args ! ( "{:?}" , 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 ; } # [ 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 ) ; impl OPEN_FILENAME_FLAGS { pub const OFN_READONLY : Self = Self ( 1u32 ) ; pub const OFN_OVERWRITEPROMPT : Self = Self ( 2u32 ) ; pub const OFN_HIDEREADONLY : Self = Self ( 4u32 ) ; pub const OFN_NOCHANGEDIR : Self = Self ( 8u32 ) ; pub const OFN_SHOWHELP : Self = Self ( 16u32 ) ; pub const OFN_ENABLEHOOK : Self = Self ( 32u32 ) ; pub const OFN_ENABLETEMPLATE : Self = Self ( 64u32 ) ; pub const OFN_ENABLETEMPLATEHANDLE : Self = Self ( 128u32 ) ; pub const OFN_NOVALIDATE : Self = Self ( 256u32 ) ; pub const OFN_ALLOWMULTISELECT : Self = Self ( 512u32 ) ; pub const OFN_EXTENSIONDIFFERENT : Self = Self ( 1024u32 ) ; pub const OFN_PATHMUSTEXIST : Self = Self ( 2048u32 ) ; pub const OFN_FILEMUSTEXIST : Self = Self ( 4096u32 ) ; pub const OFN_CREATEPROMPT : Self = Self ( 8192u32 ) ; pub const OFN_SHAREAWARE : Self = Self ( 16384u32 ) ; pub const OFN_NOREADONLYRETURN : Self = Self ( 32768u32 ) ; pub const OFN_NOTESTFILECREATE : Self = Self ( 65536u32 ) ; pub const OFN_NONETWORKBUTTON : Self = Self ( 131072u32 ) ; pub const OFN_NOLONGNAMES : Self = Self ( 262144u32 ) ; pub const OFN_EXPLORER : Self = Self ( 524288u32 ) ; pub const OFN_NODEREFERENCELINKS : Self = Self ( 1048576u32 ) ; pub const OFN_LONGNAMES : Self = Self ( 2097152u32 ) ; pub const OFN_ENABLEINCLUDENOTIFY : Self = Self ( 4194304u32 ) ; pub const OFN_ENABLESIZING : Self = Self ( 8388608u32 ) ; pub const OFN_DONTADDTORECENT : Self = Self ( 33554432u32 ) ; pub const OFN_FORCESHOWHIDDEN : Self = Self ( 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 ; } 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 ) } } pub type LPOFNHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ 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 ) ; impl OPEN_FILENAME_FLAGS_EX { pub const OFN_EX_NONE : Self = Self ( 0u32 ) ; pub const OFN_EX_NOPLACESBAR : Self = Self ( 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 ; } 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 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PSTR , pub lpstrCustomFilter : super :: SystemServices :: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PSTR , pub lpstrTitle : super :: SystemServices :: PSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "pvReserved" , & format_args ! ( "{:?}" , self . pvReserved ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , self . dwReserved ) ) . field ( "FlagsEx" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OPENFILENAMEA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PWSTR , pub lpstrCustomFilter : super :: SystemServices :: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PWSTR , pub lpstrTitle : super :: SystemServices :: PWSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PWSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: 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" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "pvReserved" , & format_args ! ( "{:?}" , self . pvReserved ) ) . field ( "dwReserved" , & format_args ! ( "{:?}" , self . dwReserved ) ) . field ( "FlagsEx" , & format_args ! ( "{:?}" , 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 { } unsafe impl :: windows :: Abi for OPENFILENAMEW { type Abi = Self ; } # [ repr ( C , packed ( 2 ) ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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 { } unsafe impl :: windows :: Abi for DLGTEMPLATE { type Abi = Self ; } pub type DLGPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> isize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ACCEL { pub fVirt : u8 , pub key : u16 , pub cmd : u16 } impl ACCEL { } impl :: std :: default :: Default for ACCEL { fn default ( ) -> Self { Self { fVirt : 0 , key : 0 , cmd : 0 } } } impl :: std :: fmt :: Debug for ACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACCEL" ) . field ( "fVirt" , & format_args ! ( "{:?}" , self . fVirt ) ) . field ( "key" , & format_args ! ( "{:?}" , self . key ) ) . field ( "cmd" , & format_args ! ( "{:?}" , self . cmd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACCEL { fn eq ( & self , other : & Self ) -> bool { self . fVirt == other . fVirt && self . key == other . key && self . cmd == other . cmd } } impl :: std :: cmp :: Eq for ACCEL { } unsafe impl :: windows :: Abi for ACCEL { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ALTTABINFO { pub cbSize : u32 , pub cItems : i32 , pub cColumns : i32 , pub cRows : i32 , pub iColFocus : i32 , pub iRowFocus : i32 , pub cxItem : i32 , pub cyItem : i32 , pub ptStart : super :: DisplayDevices :: POINT } impl ALTTABINFO { } impl :: std :: default :: Default for ALTTABINFO { fn default ( ) -> Self { Self { cbSize : 0 , cItems : 0 , cColumns : 0 , cRows : 0 , iColFocus : 0 , iRowFocus : 0 , cxItem : 0 , cyItem : 0 , ptStart : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ALTTABINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ALTTABINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "cItems" , & format_args ! ( "{:?}" , self . cItems ) ) . field ( "cColumns" , & format_args ! ( "{:?}" , self . cColumns ) ) . field ( "cRows" , & format_args ! ( "{:?}" , self . cRows ) ) . field ( "iColFocus" , & format_args ! ( "{:?}" , self . iColFocus ) ) . field ( "iRowFocus" , & format_args ! ( "{:?}" , self . iRowFocus ) ) . field ( "cxItem" , & format_args ! ( "{:?}" , self . cxItem ) ) . field ( "cyItem" , & format_args ! ( "{:?}" , self . cyItem ) ) . field ( "ptStart" , & format_args ! ( "{:?}" , self . ptStart ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ALTTABINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . cItems == other . cItems && self . cColumns == other . cColumns && self . cRows == other . cRows && self . iColFocus == other . iColFocus && self . iRowFocus == other . iRowFocus && self . cxItem == other . cxItem && self . cyItem == other . cyItem && self . ptStart == other . ptStart } } impl :: std :: cmp :: Eq for ALTTABINFO { } unsafe impl :: windows :: Abi for ALTTABINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ANIMATIONINFO { pub cbSize : u32 , pub iMinAnimate : i32 } impl ANIMATIONINFO { } impl :: std :: default :: Default for ANIMATIONINFO { fn default ( ) -> Self { Self { cbSize : 0 , iMinAnimate : 0 } } } impl :: std :: fmt :: Debug for ANIMATIONINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ANIMATIONINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iMinAnimate" , & format_args ! ( "{:?}" , self . iMinAnimate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ANIMATIONINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iMinAnimate == other . iMinAnimate } } impl :: std :: cmp :: Eq for ANIMATIONINFO { } unsafe impl :: windows :: Abi for ANIMATIONINFO { type Abi = Self ; } pub const ARW_DOWN : i32 = 4i32 ; pub const ARW_HIDE : i32 = 8i32 ; pub const ARW_LEFT : i32 = 0i32 ; pub const ARW_RIGHT : i32 = 0i32 ; pub const ARW_STARTMASK : i32 = 3i32 ; pub const ARW_STARTRIGHT : i32 = 1i32 ; pub const ARW_STARTTOP : i32 = 2i32 ; pub const ARW_UP : i32 = 4i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct AUDIODESCRIPTION { pub cbSize : u32 , pub Enabled : super :: SystemServices :: BOOL , pub Locale : u32 } impl AUDIODESCRIPTION { } impl :: std :: default :: Default for AUDIODESCRIPTION { fn default ( ) -> Self { Self { cbSize : 0 , Enabled : :: std :: default :: Default :: default ( ) , Locale : 0 } } } impl :: std :: fmt :: Debug for AUDIODESCRIPTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AUDIODESCRIPTION" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "Enabled" , & format_args ! ( "{:?}" , self . Enabled ) ) . field ( "Locale" , & format_args ! ( "{:?}" , self . Locale ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AUDIODESCRIPTION { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . Enabled == other . Enabled && self . Locale == other . Locale } } impl :: std :: cmp :: Eq for AUDIODESCRIPTION { } unsafe impl :: windows :: Abi for AUDIODESCRIPTION { type Abi = Self ; } pub unsafe fn AdjustWindowRect < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lprect : * mut super :: DisplayDevices :: RECT , dwstyle : u32 , bmenu : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AdjustWindowRectEx < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( lprect : * mut super :: DisplayDevices :: RECT , dwstyle : u32 , bmenu : T2__ , dwexstyle : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AllowSetForegroundWindow < > ( dwprocessid : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "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 AnimateWindow_dwFlags ( pub u32 ) ; impl AnimateWindow_dwFlags { pub const AW_ACTIVATE : Self = Self ( 131072u32 ) ; pub const AW_BLEND : Self = Self ( 524288u32 ) ; pub const AW_CENTER : Self = Self ( 16u32 ) ; pub const AW_HIDE : Self = Self ( 65536u32 ) ; pub const AW_HOR_POSITIVE : Self = Self ( 1u32 ) ; pub const AW_HOR_NEGATIVE : Self = Self ( 2u32 ) ; pub const AW_SLIDE : Self = Self ( 262144u32 ) ; pub const AW_VER_POSITIVE : Self = Self ( 4u32 ) ; pub const AW_VER_NEGATIVE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for AnimateWindow_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AnimateWindow_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for AnimateWindow_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for AnimateWindow_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for AnimateWindow_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for AnimateWindow_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn AnimateWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , dwtime : u32 , dwflags : AnimateWindow_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AnyPopup < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub struct Apis { } impl Apis { } impl :: windows :: RuntimeName for Apis { const NAME : & 'static str ="Windows.Win32.WindowsAndMessaging.Apis" ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_FLAGS ( pub u32 ) ; impl MENU_ITEM_FLAGS { pub const MF_INSERT : Self = Self ( 0u32 ) ; pub const MF_CHANGE : Self = Self ( 128u32 ) ; pub const MF_APPEND : Self = Self ( 256u32 ) ; pub const MF_DELETE : Self = Self ( 512u32 ) ; pub const MF_REMOVE : Self = Self ( 4096u32 ) ; pub const MF_BYCOMMAND : Self = Self ( 0u32 ) ; pub const MF_BYPOSITION : Self = Self ( 1024u32 ) ; pub const MF_DISABLED : Self = Self ( 2u32 ) ; pub const MF_ENABLED : Self = Self ( 0u32 ) ; pub const MF_GRAYED : Self = Self ( 1u32 ) ; pub const MF_BITMAP : Self = Self ( 4u32 ) ; pub const MF_CHECKED : Self = Self ( 8u32 ) ; pub const MF_MENUBARBREAK : Self = Self ( 32u32 ) ; pub const MF_MENUBREAK : Self = Self ( 64u32 ) ; pub const MF_OWNERDRAW : Self = Self ( 256u32 ) ; pub const MF_POPUP : Self = Self ( 16u32 ) ; pub const MF_SEPARATOR : Self = Self ( 2048u32 ) ; pub const MF_STRING : Self = Self ( 0u32 ) ; pub const MF_UNCHECKED : Self = Self ( 0u32 ) ; pub const MF_USECHECKBITMAPS : Self = Self ( 512u32 ) ; pub const MF_UNHILITE : Self = Self ( 0u32 ) ; pub const MF_HILITE : Self = Self ( 128u32 ) ; pub const MF_DEFAULT : Self = Self ( 4096u32 ) ; pub const MF_SYSMENU : Self = Self ( 8192u32 ) ; pub const MF_HELP : Self = Self ( 16384u32 ) ; pub const MF_RIGHTJUSTIFY : Self = Self ( 16384u32 ) ; pub const MF_MOUSESELECT : Self = Self ( 32768u32 ) ; pub const MF_END : Self = Self ( 128u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn AppendMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn AppendMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ArrangeIconicWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub const BM_CLICK : u32 = 245u32 ; pub const BM_GETCHECK : u32 = 240u32 ; pub const BM_GETIMAGE : u32 = 246u32 ; pub const BM_GETSTATE : u32 = 242u32 ; pub const BM_SETCHECK : u32 = 241u32 ; pub const BM_SETDONTCLICK : u32 = 248u32 ; pub const BM_SETIMAGE : u32 = 247u32 ; pub const BM_SETSTATE : u32 = 243u32 ; pub const BM_SETSTYLE : u32 = 244u32 ; pub const BN_CLICKED : u32 = 0u32 ; pub const BN_DISABLE : u32 = 4u32 ; pub const BN_DOUBLECLICKED : u32 = 5u32 ; pub const BN_HILITE : u32 = 2u32 ; pub const BN_KILLFOCUS : u32 = 7u32 ; pub const BN_PAINT : u32 = 1u32 ; pub const BN_SETFOCUS : u32 = 6u32 ; pub const BN_UNHILITE : u32 = 3u32 ; pub const BROADCAST_QUERY_DENY : u32 = 1112363332u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BSMINFO { pub cbSize : u32 , pub hdesk : super :: WindowsStationsAndDesktops :: HDESK , pub hwnd : HWND , pub luid : super :: Kernel :: LUID } impl BSMINFO { } impl :: std :: default :: Default for BSMINFO { fn default ( ) -> Self { Self { cbSize : 0 , hdesk : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) , luid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for BSMINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BSMINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hdesk" , & format_args ! ( "{:?}" , self . hdesk ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "luid" , & format_args ! ( "{:?}" , self . luid ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BSMINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hdesk == other . hdesk && self . hwnd == other . hwnd && self . luid == other . luid } } impl :: std :: cmp :: Eq for BSMINFO { } unsafe impl :: windows :: Abi for BSMINFO { type Abi = Self ; } pub const BSM_INSTALLABLEDRIVERS : u32 = 4u32 ; pub const BSM_NETDRIVER : u32 = 2u32 ; pub const BSM_VXDS : u32 = 1u32 ; pub const BST_FOCUS : u32 = 8u32 ; pub const BST_PUSHED : u32 = 4u32 ; pub unsafe fn BeginDeferWindowPos < > ( nnumwindows : i32 , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginUpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pfilename : T0__ , bdeleteexistingresources : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BeginUpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( pfilename : T0__ , bdeleteexistingresources : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BringWindowToTop < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageA < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : u32 , lpinfo : * mut u32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> i32 { panic ! ( "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 BroadcastSystemMessageW_flags ( pub u32 ) ; impl BroadcastSystemMessageW_flags { pub const BSF_ALLOWSFW : Self = Self ( 128u32 ) ; pub const BSF_FLUSHDISK : Self = Self ( 4u32 ) ; pub const BSF_FORCEIFHUNG : Self = Self ( 32u32 ) ; pub const BSF_IGNORECURRENTTASK : Self = Self ( 2u32 ) ; pub const BSF_NOHANG : Self = Self ( 8u32 ) ; pub const BSF_NOTIMEOUTIFNOTHUNG : Self = Self ( 64u32 ) ; pub const BSF_POSTMESSAGE : Self = Self ( 16u32 ) ; pub const BSF_QUERY : Self = Self ( 1u32 ) ; pub const BSF_SENDNOTIFYMESSAGE : Self = Self ( 256u32 ) ; pub const BSF_LUID : Self = Self ( 1024u32 ) ; pub const BSF_RETURNHDESK : Self = Self ( 512u32 ) ; } impl :: std :: convert :: From < u32 > for BroadcastSystemMessageW_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BroadcastSystemMessageW_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for BroadcastSystemMessageW_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BroadcastSystemMessageW_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BroadcastSystemMessageW_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BroadcastSystemMessageW_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 BroadcastSystemMessage_lpInfo ( pub u32 ) ; impl BroadcastSystemMessage_lpInfo { pub const BSM_ALLCOMPONENTS : Self = Self ( 0u32 ) ; pub const BSM_ALLDESKTOPS : Self = Self ( 16u32 ) ; pub const BSM_APPLICATIONS : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for BroadcastSystemMessage_lpInfo { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BroadcastSystemMessage_lpInfo { type Abi = Self ; } impl :: std :: ops :: BitOr for BroadcastSystemMessage_lpInfo { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for BroadcastSystemMessage_lpInfo { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for BroadcastSystemMessage_lpInfo { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for BroadcastSystemMessage_lpInfo { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn BroadcastSystemMessageExA < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , pbsminfo : * mut BSMINFO , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageExW < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , pbsminfo : * mut BSMINFO , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn BroadcastSystemMessageW < 'a , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( flags : BroadcastSystemMessageW_flags , lpinfo : * mut BroadcastSystemMessage_lpInfo , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub const CALERT_SYSTEM : u32 = 6u32 ; pub const CBN_CLOSEUP : u32 = 8u32 ; pub const CBN_DBLCLK : u32 = 2u32 ; pub const CBN_DROPDOWN : u32 = 7u32 ; pub const CBN_EDITCHANGE : u32 = 5u32 ; pub const CBN_EDITUPDATE : u32 = 6u32 ; pub const CBN_ERRSPACE : i32 = -1i32 ; pub const CBN_KILLFOCUS : u32 = 4u32 ; pub const CBN_SELCHANGE : u32 = 1u32 ; pub const CBN_SELENDCANCEL : u32 = 10u32 ; pub const CBN_SELENDOK : u32 = 9u32 ; pub const CBN_SETFOCUS : u32 = 3u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBTACTIVATESTRUCT { pub fMouse : super :: SystemServices :: BOOL , pub hWndActive : HWND } impl CBTACTIVATESTRUCT { } impl :: std :: default :: Default for CBTACTIVATESTRUCT { fn default ( ) -> Self { Self { fMouse : :: std :: default :: Default :: default ( ) , hWndActive : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBTACTIVATESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBTACTIVATESTRUCT" ) . field ( "fMouse" , & format_args ! ( "{:?}" , self . fMouse ) ) . field ( "hWndActive" , & format_args ! ( "{:?}" , self . hWndActive ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBTACTIVATESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . fMouse == other . fMouse && self . hWndActive == other . hWndActive } } impl :: std :: cmp :: Eq for CBTACTIVATESTRUCT { } unsafe impl :: windows :: Abi for CBTACTIVATESTRUCT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CREATESTRUCTA { pub lpCreateParams : * mut :: std :: ffi :: c_void , pub hInstance : super :: SystemServices :: HINSTANCE , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndParent : HWND , pub cy : i32 , pub cx : i32 , pub y : i32 , pub x : i32 , pub style : i32 , pub lpszName : super :: SystemServices :: PSTR , pub lpszClass : super :: SystemServices :: PSTR , pub dwExStyle : u32 } impl CREATESTRUCTA { } impl :: std :: default :: Default for CREATESTRUCTA { fn default ( ) -> Self { Self { lpCreateParams : :: std :: ptr :: null_mut ( ) , hInstance : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndParent : :: std :: default :: Default :: default ( ) , cy : 0 , cx : 0 , y : 0 , x : 0 , style : 0 , lpszName : :: std :: default :: Default :: default ( ) , lpszClass : :: std :: default :: Default :: default ( ) , dwExStyle : 0 } } } impl :: std :: fmt :: Debug for CREATESTRUCTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATESTRUCTA" ) . field ( "lpCreateParams" , & format_args ! ( "{:?}" , self . lpCreateParams ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndParent" , & format_args ! ( "{:?}" , self . hwndParent ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lpszName" , & format_args ! ( "{:?}" , self . lpszName ) ) . field ( "lpszClass" , & format_args ! ( "{:?}" , self . lpszClass ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATESTRUCTA { fn eq ( & self , other : & Self ) -> bool { self . lpCreateParams == other . lpCreateParams && self . hInstance == other . hInstance && self . hMenu == other . hMenu && self . hwndParent == other . hwndParent && self . cy == other . cy && self . cx == other . cx && self . y == other . y && self . x == other . x && self . style == other . style && self . lpszName == other . lpszName && self . lpszClass == other . lpszClass && self . dwExStyle == other . dwExStyle } } impl :: std :: cmp :: Eq for CREATESTRUCTA { } unsafe impl :: windows :: Abi for CREATESTRUCTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBT_CREATEWNDA { pub lpcs : * mut CREATESTRUCTA , pub hwndInsertAfter : HWND } impl CBT_CREATEWNDA { } impl :: std :: default :: Default for CBT_CREATEWNDA { fn default ( ) -> Self { Self { lpcs : :: std :: ptr :: null_mut ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBT_CREATEWNDA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBT_CREATEWNDA" ) . field ( "lpcs" , & format_args ! ( "{:?}" , self . lpcs ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBT_CREATEWNDA { fn eq ( & self , other : & Self ) -> bool { self . lpcs == other . lpcs && self . hwndInsertAfter == other . hwndInsertAfter } } impl :: std :: cmp :: Eq for CBT_CREATEWNDA { } unsafe impl :: windows :: Abi for CBT_CREATEWNDA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CREATESTRUCTW { pub lpCreateParams : * mut :: std :: ffi :: c_void , pub hInstance : super :: SystemServices :: HINSTANCE , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndParent : HWND , pub cy : i32 , pub cx : i32 , pub y : i32 , pub x : i32 , pub style : i32 , pub lpszName : super :: SystemServices :: PWSTR , pub lpszClass : super :: SystemServices :: PWSTR , pub dwExStyle : u32 } impl CREATESTRUCTW { } impl :: std :: default :: Default for CREATESTRUCTW { fn default ( ) -> Self { Self { lpCreateParams : :: std :: ptr :: null_mut ( ) , hInstance : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndParent : :: std :: default :: Default :: default ( ) , cy : 0 , cx : 0 , y : 0 , x : 0 , style : 0 , lpszName : :: std :: default :: Default :: default ( ) , lpszClass : :: std :: default :: Default :: default ( ) , dwExStyle : 0 } } } impl :: std :: fmt :: Debug for CREATESTRUCTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATESTRUCTW" ) . field ( "lpCreateParams" , & format_args ! ( "{:?}" , self . lpCreateParams ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndParent" , & format_args ! ( "{:?}" , self . hwndParent ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lpszName" , & format_args ! ( "{:?}" , self . lpszName ) ) . field ( "lpszClass" , & format_args ! ( "{:?}" , self . lpszClass ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATESTRUCTW { fn eq ( & self , other : & Self ) -> bool { self . lpCreateParams == other . lpCreateParams && self . hInstance == other . hInstance && self . hMenu == other . hMenu && self . hwndParent == other . hwndParent && self . cy == other . cy && self . cx == other . cx && self . y == other . y && self . x == other . x && self . style == other . style && self . lpszName == other . lpszName && self . lpszClass == other . lpszClass && self . dwExStyle == other . dwExStyle } } impl :: std :: cmp :: Eq for CREATESTRUCTW { } unsafe impl :: windows :: Abi for CREATESTRUCTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CBT_CREATEWNDW { pub lpcs : * mut CREATESTRUCTW , pub hwndInsertAfter : HWND } impl CBT_CREATEWNDW { } impl :: std :: default :: Default for CBT_CREATEWNDW { fn default ( ) -> Self { Self { lpcs : :: std :: ptr :: null_mut ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CBT_CREATEWNDW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CBT_CREATEWNDW" ) . field ( "lpcs" , & format_args ! ( "{:?}" , self . lpcs ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CBT_CREATEWNDW { fn eq ( & self , other : & Self ) -> bool { self . lpcs == other . lpcs && self . hwndInsertAfter == other . hwndInsertAfter } } impl :: std :: cmp :: Eq for CBT_CREATEWNDW { } unsafe impl :: windows :: Abi for CBT_CREATEWNDW { type Abi = Self ; } pub const CB_ADDSTRING : u32 = 323u32 ; pub const CB_DELETESTRING : u32 = 324u32 ; pub const CB_DIR : u32 = 325u32 ; pub const CB_ERR : i32 = -1i32 ; pub const CB_ERRSPACE : i32 = -2i32 ; pub const CB_FINDSTRING : u32 = 332u32 ; pub const CB_FINDSTRINGEXACT : u32 = 344u32 ; pub const CB_GETCOMBOBOXINFO : u32 = 356u32 ; pub const CB_GETCOUNT : u32 = 326u32 ; pub const CB_GETCURSEL : u32 = 327u32 ; pub const CB_GETDROPPEDCONTROLRECT : u32 = 338u32 ; pub const CB_GETDROPPEDSTATE : u32 = 343u32 ; pub const CB_GETDROPPEDWIDTH : u32 = 351u32 ; pub const CB_GETEDITSEL : u32 = 320u32 ; pub const CB_GETEXTENDEDUI : u32 = 342u32 ; pub const CB_GETHORIZONTALEXTENT : u32 = 349u32 ; pub const CB_GETITEMDATA : u32 = 336u32 ; pub const CB_GETITEMHEIGHT : u32 = 340u32 ; pub const CB_GETLBTEXT : u32 = 328u32 ; pub const CB_GETLBTEXTLEN : u32 = 329u32 ; pub const CB_GETLOCALE : u32 = 346u32 ; pub const CB_GETTOPINDEX : u32 = 347u32 ; pub const CB_INITSTORAGE : u32 = 353u32 ; pub const CB_INSERTSTRING : u32 = 330u32 ; pub const CB_LIMITTEXT : u32 = 321u32 ; pub const CB_MSGMAX : u32 = 357u32 ; pub const CB_MULTIPLEADDSTRING : u32 = 355u32 ; pub const CB_OKAY : u32 = 0u32 ; pub const CB_RESETCONTENT : u32 = 331u32 ; pub const CB_SELECTSTRING : u32 = 333u32 ; pub const CB_SETCURSEL : u32 = 334u32 ; pub const CB_SETDROPPEDWIDTH : u32 = 352u32 ; pub const CB_SETEDITSEL : u32 = 322u32 ; pub const CB_SETEXTENDEDUI : u32 = 341u32 ; pub const CB_SETHORIZONTALEXTENT : u32 = 350u32 ; pub const CB_SETITEMDATA : u32 = 337u32 ; pub const CB_SETITEMHEIGHT : u32 = 339u32 ; pub const CB_SETLOCALE : u32 = 345u32 ; pub const CB_SETTOPINDEX : u32 = 348u32 ; pub const CB_SHOWDROPDOWN : u32 = 335u32 ; pub const CCHILDREN_SCROLLBAR : u32 = 5u32 ; pub const CCHILDREN_TITLEBAR : u32 = 5u32 ; pub const CDM_FIRST : u32 = 1124u32 ; pub const CDM_GETFILEPATH : u32 = 1125u32 ; pub const CDM_GETFOLDERIDLIST : u32 = 1127u32 ; pub const CDM_GETFOLDERPATH : u32 = 1126u32 ; pub const CDM_GETSPEC : u32 = 1124u32 ; pub const CDM_HIDECONTROL : u32 = 1129u32 ; pub const CDM_LAST : u32 = 1224u32 ; pub const CDM_SETCONTROLTEXT : u32 = 1128u32 ; pub const CDM_SETDEFEXT : u32 = 1130u32 ; pub const CD_LBSELADD : u32 = 2u32 ; pub const CD_LBSELCHANGE : u32 = 0u32 ; pub const CD_LBSELNOITEMS : i32 = -1i32 ; pub const CD_LBSELSUB : 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 CHANGEFILTERSTRUCT_ExtStatusFlags ( pub u32 ) ; impl CHANGEFILTERSTRUCT_ExtStatusFlags { pub const MSGFLTINFO_NONE : Self = Self ( 0u32 ) ; pub const MSGFLTINFO_ALLOWED_HIGHER : Self = Self ( 3u32 ) ; pub const MSGFLTINFO_ALREADYALLOWED_FORWND : Self = Self ( 1u32 ) ; pub const MSGFLTINFO_ALREADYDISALLOWED_FORWND : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for CHANGEFILTERSTRUCT_ExtStatusFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHANGEFILTERSTRUCT_ExtStatusFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for CHANGEFILTERSTRUCT_ExtStatusFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHANGEFILTERSTRUCT_ExtStatusFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHANGEFILTERSTRUCT_ExtStatusFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHANGEFILTERSTRUCT_ExtStatusFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHANGEFILTERSTRUCT { pub cbSize : u32 , pub ExtStatus : CHANGEFILTERSTRUCT_ExtStatusFlags } impl CHANGEFILTERSTRUCT { } impl :: std :: default :: Default for CHANGEFILTERSTRUCT { fn default ( ) -> Self { Self { cbSize : 0 , ExtStatus : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHANGEFILTERSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGEFILTERSTRUCT" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "ExtStatus" , & format_args ! ( "{:?}" , self . ExtStatus ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGEFILTERSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . ExtStatus == other . ExtStatus } } impl :: std :: cmp :: Eq for CHANGEFILTERSTRUCT { } unsafe impl :: windows :: Abi for CHANGEFILTERSTRUCT { type Abi = Self ; } pub const CHILDID_SELF : u32 = 0u32 ; pub type LPCCHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSECOLORA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : HWND , pub rgbResult : u32 , pub lpCustColors : * mut u32 , pub Flags : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCCHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl CHOOSECOLORA { } impl :: std :: default :: Default for CHOOSECOLORA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , rgbResult : 0 , lpCustColors : :: std :: ptr :: null_mut ( ) , Flags : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHOOSECOLORA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSECOLORA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "rgbResult" , & format_args ! ( "{:?}" , self . rgbResult ) ) . field ( "lpCustColors" , & format_args ! ( "{:?}" , self . lpCustColors ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSECOLORA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . rgbResult == other . rgbResult && self . lpCustColors == other . lpCustColors && self . Flags == other . Flags && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for CHOOSECOLORA { } unsafe impl :: windows :: Abi for CHOOSECOLORA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSECOLORW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : HWND , pub rgbResult : u32 , pub lpCustColors : * mut u32 , pub Flags : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCCHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl CHOOSECOLORW { } impl :: std :: default :: Default for CHOOSECOLORW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , rgbResult : 0 , lpCustColors : :: std :: ptr :: null_mut ( ) , Flags : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CHOOSECOLORW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSECOLORW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "rgbResult" , & format_args ! ( "{:?}" , self . rgbResult ) ) . field ( "lpCustColors" , & format_args ! ( "{:?}" , self . lpCustColors ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSECOLORW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . rgbResult == other . rgbResult && self . lpCustColors == other . lpCustColors && self . Flags == other . Flags && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for CHOOSECOLORW { } unsafe impl :: windows :: Abi for CHOOSECOLORW { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSEFONTW_Flags ( pub u32 ) ; impl CHOOSEFONTW_Flags { pub const CF_APPLY : Self = Self ( 512u32 ) ; pub const CF_ANSIONLY : Self = Self ( 1024u32 ) ; pub const CF_BOTH : Self = Self ( 3u32 ) ; pub const CF_EFFECTS : Self = Self ( 256u32 ) ; pub const CF_ENABLEHOOK : Self = Self ( 8u32 ) ; pub const CF_ENABLETEMPLATE : Self = Self ( 16u32 ) ; pub const CF_ENABLETEMPLATEHANDLE : Self = Self ( 32u32 ) ; pub const CF_FIXEDPITCHONLY : Self = Self ( 16384u32 ) ; pub const CF_FORCEFONTEXIST : Self = Self ( 65536u32 ) ; pub const CF_INACTIVEFONTS : Self = Self ( 33554432u32 ) ; pub const CF_INITTOLOGFONTSTRUCT : Self = Self ( 64u32 ) ; pub const CF_LIMITSIZE : Self = Self ( 8192u32 ) ; pub const CF_NOOEMFONTS : Self = Self ( 2048u32 ) ; pub const CF_NOFACESEL : Self = Self ( 524288u32 ) ; pub const CF_NOSCRIPTSEL : Self = Self ( 8388608u32 ) ; pub const CF_NOSIMULATIONS : Self = Self ( 4096u32 ) ; pub const CF_NOSIZESEL : Self = Self ( 2097152u32 ) ; pub const CF_NOSTYLESEL : Self = Self ( 1048576u32 ) ; pub const CF_NOVECTORFONTS : Self = Self ( 2048u32 ) ; pub const CF_NOVERTFONTS : Self = Self ( 16777216u32 ) ; pub const CF_PRINTERFONTS : Self = Self ( 2u32 ) ; pub const CF_SCALABLEONLY : Self = Self ( 131072u32 ) ; pub const CF_SCREENFONTS : Self = Self ( 1u32 ) ; pub const CF_SCRIPTSONLY : Self = Self ( 1024u32 ) ; pub const CF_SELECTSCRIPT : Self = Self ( 4194304u32 ) ; pub const CF_SHOWHELP : Self = Self ( 4u32 ) ; pub const CF_TTONLY : Self = Self ( 262144u32 ) ; pub const CF_USESTYLE : Self = Self ( 128u32 ) ; pub const CF_WYSIWYG : Self = Self ( 32768u32 ) ; } impl :: std :: convert :: From < u32 > for CHOOSEFONTW_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSEFONTW_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for CHOOSEFONTW_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSEFONTW_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSEFONTW_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSEFONTW_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPCFHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSEFONTA_nFontType ( pub u32 ) ; impl CHOOSEFONTA_nFontType { pub const BOLD_FONTTYPE : Self = Self ( 256u32 ) ; pub const ITALIC_FONTTYPE : Self = Self ( 512u32 ) ; pub const PRINTER_FONTTYPE : Self = Self ( 16384u32 ) ; pub const REGULAR_FONTTYPE : Self = Self ( 1024u32 ) ; pub const SCREEN_FONTTYPE : Self = Self ( 8192u32 ) ; pub const SIMULATED_FONTTYPE : Self = Self ( 32768u32 ) ; } impl :: std :: convert :: From < u32 > for CHOOSEFONTA_nFontType { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSEFONTA_nFontType { type Abi = Self ; } impl :: std :: ops :: BitOr for CHOOSEFONTA_nFontType { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSEFONTA_nFontType { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSEFONTA_nFontType { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSEFONTA_nFontType { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSEFONTA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDC : super :: Gdi :: HDC , pub lpLogFont : * mut super :: Shell :: LOGFONTA , pub iPointSize : i32 , pub Flags : CHOOSEFONTW_Flags , pub rgbColors : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCFHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszStyle : super :: SystemServices :: PSTR , pub nFontType : CHOOSEFONTA_nFontType , pub ___MISSING_ALIGNMENT__ : u16 , pub nSizeMin : i32 , pub nSizeMax : i32 } impl CHOOSEFONTA { } impl :: std :: default :: Default for CHOOSEFONTA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDC : :: std :: default :: Default :: default ( ) , lpLogFont : :: std :: ptr :: null_mut ( ) , iPointSize : 0 , Flags : :: std :: default :: Default :: default ( ) , rgbColors : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszStyle : :: std :: default :: Default :: default ( ) , nFontType : :: std :: default :: Default :: default ( ) , ___MISSING_ALIGNMENT__ : 0 , nSizeMin : 0 , nSizeMax : 0 } } } impl :: std :: fmt :: Debug for CHOOSEFONTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSEFONTA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "lpLogFont" , & format_args ! ( "{:?}" , self . lpLogFont ) ) . field ( "iPointSize" , & format_args ! ( "{:?}" , self . iPointSize ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "rgbColors" , & format_args ! ( "{:?}" , self . rgbColors ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszStyle" , & format_args ! ( "{:?}" , self . lpszStyle ) ) . field ( "nFontType" , & format_args ! ( "{:?}" , self . nFontType ) ) . field ( "___MISSING_ALIGNMENT__" , & format_args ! ( "{:?}" , self . ___MISSING_ALIGNMENT__ ) ) . field ( "nSizeMin" , & format_args ! ( "{:?}" , self . nSizeMin ) ) . field ( "nSizeMax" , & format_args ! ( "{:?}" , self . nSizeMax ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSEFONTA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDC == other . hDC && self . lpLogFont == other . lpLogFont && self . iPointSize == other . iPointSize && self . Flags == other . Flags && self . rgbColors == other . rgbColors && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . hInstance == other . hInstance && self . lpszStyle == other . lpszStyle && self . nFontType == other . nFontType && self . ___MISSING_ALIGNMENT__ == other . ___MISSING_ALIGNMENT__ && self . nSizeMin == other . nSizeMin && self . nSizeMax == other . nSizeMax } } impl :: std :: cmp :: Eq for CHOOSEFONTA { } unsafe impl :: windows :: Abi for CHOOSEFONTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CHOOSEFONTW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDC : super :: Gdi :: HDC , pub lpLogFont : * mut super :: Shell :: LOGFONTW , pub iPointSize : i32 , pub Flags : CHOOSEFONTW_Flags , pub rgbColors : u32 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPCFHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszStyle : super :: SystemServices :: PWSTR , pub nFontType : CHOOSEFONTA_nFontType , pub ___MISSING_ALIGNMENT__ : u16 , pub nSizeMin : i32 , pub nSizeMax : i32 } impl CHOOSEFONTW { } impl :: std :: default :: Default for CHOOSEFONTW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDC : :: std :: default :: Default :: default ( ) , lpLogFont : :: std :: ptr :: null_mut ( ) , iPointSize : 0 , Flags : :: std :: default :: Default :: default ( ) , rgbColors : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszStyle : :: std :: default :: Default :: default ( ) , nFontType : :: std :: default :: Default :: default ( ) , ___MISSING_ALIGNMENT__ : 0 , nSizeMin : 0 , nSizeMax : 0 } } } impl :: std :: fmt :: Debug for CHOOSEFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHOOSEFONTW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "lpLogFont" , & format_args ! ( "{:?}" , self . lpLogFont ) ) . field ( "iPointSize" , & format_args ! ( "{:?}" , self . iPointSize ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "rgbColors" , & format_args ! ( "{:?}" , self . rgbColors ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszStyle" , & format_args ! ( "{:?}" , self . lpszStyle ) ) . field ( "nFontType" , & format_args ! ( "{:?}" , self . nFontType ) ) . field ( "___MISSING_ALIGNMENT__" , & format_args ! ( "{:?}" , self . ___MISSING_ALIGNMENT__ ) ) . field ( "nSizeMin" , & format_args ! ( "{:?}" , self . nSizeMin ) ) . field ( "nSizeMax" , & format_args ! ( "{:?}" , self . nSizeMax ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHOOSEFONTW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDC == other . hDC && self . lpLogFont == other . lpLogFont && self . iPointSize == other . iPointSize && self . Flags == other . Flags && self . rgbColors == other . rgbColors && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . hInstance == other . hInstance && self . lpszStyle == other . lpszStyle && self . nFontType == other . nFontType && self . ___MISSING_ALIGNMENT__ == other . ___MISSING_ALIGNMENT__ && self . nSizeMin == other . nSizeMin && self . nSizeMax == other . nSizeMax } } impl :: std :: cmp :: Eq for CHOOSEFONTW { } unsafe impl :: windows :: Abi for CHOOSEFONTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CLIENTCREATESTRUCT { pub hWindowMenu : super :: SystemServices :: HANDLE , pub idFirstChild : u32 } impl CLIENTCREATESTRUCT { } impl :: std :: default :: Default for CLIENTCREATESTRUCT { fn default ( ) -> Self { Self { hWindowMenu : :: std :: default :: Default :: default ( ) , idFirstChild : 0 } } } impl :: std :: fmt :: Debug for CLIENTCREATESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLIENTCREATESTRUCT" ) . field ( "hWindowMenu" , & format_args ! ( "{:?}" , self . hWindowMenu ) ) . field ( "idFirstChild" , & format_args ! ( "{:?}" , self . idFirstChild ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLIENTCREATESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hWindowMenu == other . hWindowMenu && self . idFirstChild == other . idFirstChild } } impl :: std :: cmp :: Eq for CLIENTCREATESTRUCT { } unsafe impl :: windows :: Abi for CLIENTCREATESTRUCT { type Abi = Self ; } pub const COLOR_BTNHIGHLIGHT : u32 = 20u32 ; pub const CONSOLE_APPLICATION_16BIT : u32 = 0u32 ; pub const CONSOLE_CARET_SELECTION : u32 = 1u32 ; pub const CONSOLE_CARET_VISIBLE : u32 = 2u32 ; pub const CONTACTVISUALIZATION_OFF : u32 = 0u32 ; pub const CONTACTVISUALIZATION_ON : u32 = 1u32 ; pub const CONTACTVISUALIZATION_PRESENTATIONMODE : u32 = 2u32 ; pub const CREATEPROCESS_MANIFEST_RESOURCE_ID : u32 = 1u32 ; pub const CSOUND_SYSTEM : u32 = 16u32 ; pub const CTLCOLOR_BTN : u32 = 3u32 ; pub const CTLCOLOR_DLG : u32 = 4u32 ; pub const CTLCOLOR_EDIT : u32 = 1u32 ; pub const CTLCOLOR_LISTBOX : u32 = 2u32 ; pub const CTLCOLOR_MAX : u32 = 7u32 ; pub const CTLCOLOR_MSGBOX : u32 = 0u32 ; pub const CTLCOLOR_SCROLLBAR : u32 = 5u32 ; pub const CTLCOLOR_STATIC : u32 = 6u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CURSORINFO_flags ( pub u32 ) ; impl CURSORINFO_flags { pub const CURSOR_SHOWING : Self = Self ( 1u32 ) ; pub const CURSOR_SUPPRESSED : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for CURSORINFO_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CURSORINFO_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for CURSORINFO_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CURSORINFO_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CURSORINFO_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CURSORINFO_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CURSORINFO { pub cbSize : u32 , pub flags : CURSORINFO_flags , pub hCursor : super :: MenusAndResources :: HCURSOR , pub ptScreenPos : super :: DisplayDevices :: POINT } impl CURSORINFO { } impl :: std :: default :: Default for CURSORINFO { fn default ( ) -> Self { Self { cbSize : 0 , flags : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , ptScreenPos : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CURSORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CURSORINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "ptScreenPos" , & format_args ! ( "{:?}" , self . ptScreenPos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CURSORINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . flags == other . flags && self . hCursor == other . hCursor && self . ptScreenPos == other . ptScreenPos } } impl :: std :: cmp :: Eq for CURSORINFO { } unsafe impl :: windows :: Abi for CURSORINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CURSORSHAPE { pub xHotSpot : i32 , pub yHotSpot : i32 , pub cx : i32 , pub cy : i32 , pub cbWidth : i32 , pub Planes : u8 , pub BitsPixel : u8 } impl CURSORSHAPE { } impl :: std :: default :: Default for CURSORSHAPE { fn default ( ) -> Self { Self { xHotSpot : 0 , yHotSpot : 0 , cx : 0 , cy : 0 , cbWidth : 0 , Planes : 0 , BitsPixel : 0 } } } impl :: std :: fmt :: Debug for CURSORSHAPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CURSORSHAPE" ) . field ( "xHotSpot" , & format_args ! ( "{:?}" , self . xHotSpot ) ) . field ( "yHotSpot" , & format_args ! ( "{:?}" , self . yHotSpot ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "cbWidth" , & format_args ! ( "{:?}" , self . cbWidth ) ) . field ( "Planes" , & format_args ! ( "{:?}" , self . Planes ) ) . field ( "BitsPixel" , & format_args ! ( "{:?}" , self . BitsPixel ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CURSORSHAPE { fn eq ( & self , other : & Self ) -> bool { self . xHotSpot == other . xHotSpot && self . yHotSpot == other . yHotSpot && self . cx == other . cx && self . cy == other . cy && self . cbWidth == other . cbWidth && self . Planes == other . Planes && self . BitsPixel == other . BitsPixel } } impl :: std :: cmp :: Eq for CURSORSHAPE { } unsafe impl :: windows :: Abi for CURSORSHAPE { type Abi = Self ; } pub const CWF_CREATE_ONLY : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CWPRETSTRUCT { pub lResult : super :: SystemServices :: LRESULT , pub lParam : LPARAM , pub wParam : WPARAM , pub message : u32 , pub hwnd : HWND } impl CWPRETSTRUCT { } impl :: std :: default :: Default for CWPRETSTRUCT { fn default ( ) -> Self { Self { lResult : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , message : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CWPRETSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CWPRETSTRUCT" ) . field ( "lResult" , & format_args ! ( "{:?}" , self . lResult ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CWPRETSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . lResult == other . lResult && self . lParam == other . lParam && self . wParam == other . wParam && self . message == other . message && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for CWPRETSTRUCT { } unsafe impl :: windows :: Abi for CWPRETSTRUCT { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CWPSTRUCT { pub lParam : LPARAM , pub wParam : WPARAM , pub message : u32 , pub hwnd : HWND } impl CWPSTRUCT { } impl :: std :: default :: Default for CWPSTRUCT { fn default ( ) -> Self { Self { lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , message : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CWPSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CWPSTRUCT" ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CWPSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . lParam == other . lParam && self . wParam == other . wParam && self . message == other . message && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for CWPSTRUCT { } unsafe impl :: windows :: Abi for CWPSTRUCT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CWP_FLAGS ( pub u32 ) ; impl CWP_FLAGS { pub const CWP_ALL : Self = Self ( 0u32 ) ; pub const CWP_SKIPINVISIBLE : Self = Self ( 1u32 ) ; pub const CWP_SKIPDISABLED : Self = Self ( 2u32 ) ; pub const CWP_SKIPTRANSPARENT : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for CWP_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CWP_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for CWP_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CWP_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CWP_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CWP_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CW_USEDEFAULT : i32 = -2147483648i32 ; pub unsafe fn CalculatePopupWindowPosition < > ( anchorpoint : * const super :: DisplayDevices :: POINT , windowsize : * const super :: DisplayDevices :: SIZE , flags : u32 , excluderect : * mut super :: DisplayDevices :: RECT , popupwindowposition : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallMsgFilterA < > ( lpmsg : * mut MSG , ncode : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallMsgFilterW < > ( lpmsg : * mut MSG , ncode : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HHOOK ( pub isize ) ; impl HHOOK { } impl :: std :: default :: Default for HHOOK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HHOOK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HHOOK" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HHOOK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HHOOK { } unsafe impl :: windows :: Abi for HHOOK { type Abi = Self ; } pub unsafe fn CallNextHookEx < 'a , T0__ : :: windows :: IntoParam < 'a , HHOOK > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hhk : T0__ , ncode : i32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub type WNDPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> super :: SystemServices :: LRESULT ; pub unsafe fn CallWindowProcA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpprevwndfunc : :: std :: option :: Option < WNDPROC > , hwnd : T1__ , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CallWindowProcW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpprevwndfunc : :: std :: option :: Option < WNDPROC > , hwnd : T1__ , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelShutdown < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "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 CascadeWindows_wHowFlags ( pub u32 ) ; impl CascadeWindows_wHowFlags { pub const MDITILE_SKIPDISABLED : Self = Self ( 2u32 ) ; pub const MDITILE_ZORDER : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for CascadeWindows_wHowFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CascadeWindows_wHowFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for CascadeWindows_wHowFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CascadeWindows_wHowFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CascadeWindows_wHowFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CascadeWindows_wHowFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CascadeWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , whow : CascadeWindows_wHowFlags , lprect : * const super :: DisplayDevices :: RECT , ckids : u32 , lpkids : * const HWND , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , cmd : u32 , lpsznewitem : T2__ , cmdinsert : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , cmd : u32 , lpsznewitem : T2__ , cmdinsert : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "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 ChangeWindowMessageFilter_dwFlagFlags ( pub u32 ) ; impl ChangeWindowMessageFilter_dwFlagFlags { pub const MSGFLT_ADD : Self = Self ( 1u32 ) ; pub const MSGFLT_REMOVE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for ChangeWindowMessageFilter_dwFlagFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ChangeWindowMessageFilter_dwFlagFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ChangeWindowMessageFilter_dwFlagFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ChangeWindowMessageFilter_dwFlagFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ChangeWindowMessageFilter_dwFlagFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ChangeWindowMessageFilter_dwFlagFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ChangeWindowMessageFilter < > ( message : u32 , dwflag : ChangeWindowMessageFilter_dwFlagFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "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 ChangeWindowMessageFilterEx_actionFlags ( pub u32 ) ; impl ChangeWindowMessageFilterEx_actionFlags { pub const MSGFLT_ALLOW : Self = Self ( 1u32 ) ; pub const MSGFLT_DISALLOW : Self = Self ( 2u32 ) ; pub const MSGFLT_RESET : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for ChangeWindowMessageFilterEx_actionFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ChangeWindowMessageFilterEx_actionFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for ChangeWindowMessageFilterEx_actionFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ChangeWindowMessageFilterEx_actionFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ChangeWindowMessageFilterEx_actionFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ChangeWindowMessageFilterEx_actionFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ChangeWindowMessageFilterEx < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , message : u32 , action : ChangeWindowMessageFilterEx_actionFlags , pchangefilterstruct : * mut CHANGEFILTERSTRUCT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharLowerW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( codepage : u16 , lpcurrentchar : T1__ , dwflags : u32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharNextW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszstart : T0__ , lpszcurrent : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( codepage : u16 , lpstart : T1__ , lpcurrentchar : T2__ , dwflags : u32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharPrevW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszstart : T0__ , lpszcurrent : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharToOemW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , cchlength : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CharUpperW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpsz : T0__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uidcheckitem : u32 , ucheck : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckMenuRadioItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , first : u32 , last : u32 , check : u32 , flags : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChildWindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwndparent : T0__ , point : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChildWindowFromPointEx < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwnd : T0__ , pt : T1__ , flags : CWP_FLAGS , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseColorA < > ( param0 : * mut CHOOSECOLORA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseColorW < > ( param0 : * mut CHOOSECOLORW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseFontA < > ( param0 : * mut CHOOSEFONTA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ChooseFontW < > ( param0 : * mut CHOOSEFONTW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ClipCursor < > ( lprect : * const super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CommDlgExtendedError < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyAcceleratorTableA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccelsrc : T0__ , lpacceldst : * mut ACCEL , caccelentries : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyAcceleratorTableW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccelsrc : T0__ , lpacceldst : * mut ACCEL , caccelentries : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "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 CopyImage_type ( pub u32 ) ; impl CopyImage_type { pub const IMAGE_BITMAP : Self = Self ( 0u32 ) ; pub const IMAGE_CURSOR : Self = Self ( 2u32 ) ; pub const IMAGE_ICON : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for CopyImage_type { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CopyImage_type { type Abi = Self ; } impl :: std :: ops :: BitOr for CopyImage_type { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CopyImage_type { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CopyImage_type { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CopyImage_type { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CopyImage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( h : T0__ , r#type : CopyImage_type , cx : i32 , cy : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAcceleratorTableA < > ( paccel : * mut ACCEL , caccel : i32 , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAcceleratorTableW < > ( paccel : * mut ACCEL , caccel : i32 , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , > ( hwnd : T0__ , hbitmap : T1__ , nwidth : i32 , nheight : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinst : T0__ , xhotspot : i32 , yhotspot : i32 , nwidth : i32 , nheight : i32 , pvandplane : * const :: std :: ffi :: c_void , pvxorplane : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogIndirectParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogIndirectParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDialogParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , nwidth : i32 , nheight : i32 , cplanes : u8 , cbitspixel : u8 , lpbandbits : * const u8 , lpbxorbits : * const u8 , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIconFromResource < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , dwressize : u32 , ficon : T2__ , dwver : u32 , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIconFromResourceEx < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , dwressize : u32 , ficon : T2__ , dwver : u32 , cxdesired : i32 , cydesired : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFO { pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP } impl ICONINFO { } impl :: std :: default :: Default for ICONINFO { fn default ( ) -> Self { Self { fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFO" ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFO { fn eq ( & self , other : & Self ) -> bool { self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor } } impl :: std :: cmp :: Eq for ICONINFO { } unsafe impl :: windows :: Abi for ICONINFO { type Abi = Self ; } pub unsafe fn CreateIconIndirect < > ( piconinfo : * mut ICONINFO , ) -> super :: MenusAndResources :: HICON { panic ! ( "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 WINDOW_STYLE ( pub u32 ) ; impl WINDOW_STYLE { pub const WS_OVERLAPPED : Self = Self ( 0u32 ) ; pub const WS_POPUP : Self = Self ( 2147483648u32 ) ; pub const WS_CHILD : Self = Self ( 1073741824u32 ) ; pub const WS_MINIMIZE : Self = Self ( 536870912u32 ) ; pub const WS_MAXIMIZE : Self = Self ( 16777216u32 ) ; pub const WS_HSCROLL : Self = Self ( 1048576u32 ) ; pub const WS_VSCROLL : Self = Self ( 2097152u32 ) ; pub const WS_VISIBLE : Self = Self ( 268435456u32 ) ; pub const WS_DISABLED : Self = Self ( 134217728u32 ) ; pub const WS_CLIPSIBLINGS : Self = Self ( 67108864u32 ) ; pub const WS_CLIPCHILDREN : Self = Self ( 33554432u32 ) ; pub const WS_CAPTION : Self = Self ( 12582912u32 ) ; pub const WS_BORDER : Self = Self ( 8388608u32 ) ; pub const WS_DLGFRAME : Self = Self ( 4194304u32 ) ; pub const WS_SYSMENU : Self = Self ( 524288u32 ) ; pub const WS_THICKFRAME : Self = Self ( 262144u32 ) ; pub const WS_GROUP : Self = Self ( 131072u32 ) ; pub const WS_TABSTOP : Self = Self ( 65536u32 ) ; pub const WS_MINIMIZEBOX : Self = Self ( 131072u32 ) ; pub const WS_MAXIMIZEBOX : Self = Self ( 65536u32 ) ; pub const WS_TILED : Self = Self ( 0u32 ) ; pub const WS_ICONIC : Self = Self ( 536870912u32 ) ; pub const WS_SIZEBOX : Self = Self ( 262144u32 ) ; pub const WS_TILEDWINDOW : Self = Self ( 13565952u32 ) ; pub const WS_OVERLAPPEDWINDOW : Self = Self ( 13565952u32 ) ; pub const WS_POPUPWINDOW : Self = Self ( 2156396544u32 ) ; pub const WS_CHILDWINDOW : Self = Self ( 1073741824u32 ) ; pub const WS_ACTIVECAPTION : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOW_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOW_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOW_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOW_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOW_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CreateMDIWindowA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T7__ : :: windows :: IntoParam < 'a , HWND > , T8__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T9__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpclassname : T0__ , lpwindowname : T1__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T7__ , hinstance : T8__ , lparam : T9__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMDIWindowW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T7__ : :: windows :: IntoParam < 'a , HWND > , T8__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T9__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpclassname : T0__ , lpwindowname : T1__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T7__ , hinstance : T8__ , lparam : T9__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMenu < > ( ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePopupMenu < > ( ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateResourceIndexer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , extensiondllpath : T1__ , ppresourceindexer : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: ErrorCode { panic ! ( "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 WINDOW_EX_STYLE ( pub u32 ) ; impl WINDOW_EX_STYLE { pub const WS_EX_DLGMODALFRAME : Self = Self ( 1u32 ) ; pub const WS_EX_NOPARENTNOTIFY : Self = Self ( 4u32 ) ; pub const WS_EX_TOPMOST : Self = Self ( 8u32 ) ; pub const WS_EX_ACCEPTFILES : Self = Self ( 16u32 ) ; pub const WS_EX_TRANSPARENT : Self = Self ( 32u32 ) ; pub const WS_EX_MDICHILD : Self = Self ( 64u32 ) ; pub const WS_EX_TOOLWINDOW : Self = Self ( 128u32 ) ; pub const WS_EX_WINDOWEDGE : Self = Self ( 256u32 ) ; pub const WS_EX_CLIENTEDGE : Self = Self ( 512u32 ) ; pub const WS_EX_CONTEXTHELP : Self = Self ( 1024u32 ) ; pub const WS_EX_RIGHT : Self = Self ( 4096u32 ) ; pub const WS_EX_LEFT : Self = Self ( 0u32 ) ; pub const WS_EX_RTLREADING : Self = Self ( 8192u32 ) ; pub const WS_EX_LTRREADING : Self = Self ( 0u32 ) ; pub const WS_EX_LEFTSCROLLBAR : Self = Self ( 16384u32 ) ; pub const WS_EX_RIGHTSCROLLBAR : Self = Self ( 0u32 ) ; pub const WS_EX_CONTROLPARENT : Self = Self ( 65536u32 ) ; pub const WS_EX_STATICEDGE : Self = Self ( 131072u32 ) ; pub const WS_EX_APPWINDOW : Self = Self ( 262144u32 ) ; pub const WS_EX_OVERLAPPEDWINDOW : Self = Self ( 768u32 ) ; pub const WS_EX_PALETTEWINDOW : Self = Self ( 392u32 ) ; pub const WS_EX_LAYERED : Self = Self ( 524288u32 ) ; pub const WS_EX_NOINHERITLAYOUT : Self = Self ( 1048576u32 ) ; pub const WS_EX_NOREDIRECTIONBITMAP : Self = Self ( 2097152u32 ) ; pub const WS_EX_LAYOUTRTL : Self = Self ( 4194304u32 ) ; pub const WS_EX_COMPOSITED : Self = Self ( 33554432u32 ) ; pub const WS_EX_NOACTIVATE : Self = Self ( 134217728u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOW_EX_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_EX_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOW_EX_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOW_EX_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOW_EX_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOW_EX_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CreateWindowExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T8__ : :: windows :: IntoParam < 'a , HWND > , T9__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T10__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( dwexstyle : WINDOW_EX_STYLE , lpclassname : T1__ , lpwindowname : T2__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T8__ , hmenu : T9__ , hinstance : T10__ , lpparam : * mut :: std :: ffi :: c_void , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateWindowExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T8__ : :: windows :: IntoParam < 'a , HWND > , T9__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T10__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( dwexstyle : WINDOW_EX_STYLE , lpclassname : T1__ , lpwindowname : T2__ , dwstyle : WINDOW_STYLE , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , hwndparent : T8__ , hmenu : T9__ , hinstance : T10__ , lpparam : * mut :: std :: ffi :: c_void , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub const DCX_EXCLUDEUPDATE : i32 = 256i32 ; pub const DC_HASDEFID : u32 = 21323u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DEBUGHOOKINFO { pub idThread : u32 , pub idThreadInstaller : u32 , pub lParam : LPARAM , pub wParam : WPARAM , pub code : i32 } impl DEBUGHOOKINFO { } impl :: std :: default :: Default for DEBUGHOOKINFO { fn default ( ) -> Self { Self { idThread : 0 , idThreadInstaller : 0 , lParam : :: std :: default :: Default :: default ( ) , wParam : :: std :: default :: Default :: default ( ) , code : 0 } } } impl :: std :: fmt :: Debug for DEBUGHOOKINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEBUGHOOKINFO" ) . field ( "idThread" , & format_args ! ( "{:?}" , self . idThread ) ) . field ( "idThreadInstaller" , & format_args ! ( "{:?}" , self . idThreadInstaller ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "code" , & format_args ! ( "{:?}" , self . code ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEBUGHOOKINFO { fn eq ( & self , other : & Self ) -> bool { self . idThread == other . idThread && self . idThreadInstaller == other . idThreadInstaller && self . lParam == other . lParam && self . wParam == other . wParam && self . code == other . code } } impl :: std :: cmp :: Eq for DEBUGHOOKINFO { } unsafe impl :: windows :: Abi for DEBUGHOOKINFO { type Abi = Self ; } pub type DESKTOPENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type DESKTOPENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub const DESKTOP_CREATEMENU : i32 = 4i32 ; pub const DESKTOP_CREATEWINDOW : i32 = 2i32 ; pub const DESKTOP_ENUMERATE : i32 = 64i32 ; pub const DESKTOP_HOOKCONTROL : i32 = 8i32 ; pub const DESKTOP_JOURNALPLAYBACK : i32 = 32i32 ; pub const DESKTOP_JOURNALRECORD : i32 = 16i32 ; pub const DESKTOP_READOBJECTS : i32 = 1i32 ; pub const DESKTOP_SWITCHDESKTOP : i32 = 256i32 ; pub const DESKTOP_WRITEOBJECTS : i32 = 128i32 ; pub const DEVICE_NOTIFY_ALL_INTERFACE_CLASSES : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DEVNAMES { pub wDriverOffset : u16 , pub wDeviceOffset : u16 , pub wOutputOffset : u16 , pub wDefault : u16 } impl DEVNAMES { } impl :: std :: default :: Default for DEVNAMES { fn default ( ) -> Self { Self { wDriverOffset : 0 , wDeviceOffset : 0 , wOutputOffset : 0 , wDefault : 0 } } } impl :: std :: fmt :: Debug for DEVNAMES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVNAMES" ) . field ( "wDriverOffset" , & format_args ! ( "{:?}" , self . wDriverOffset ) ) . field ( "wDeviceOffset" , & format_args ! ( "{:?}" , self . wDeviceOffset ) ) . field ( "wOutputOffset" , & format_args ! ( "{:?}" , self . wOutputOffset ) ) . field ( "wDefault" , & format_args ! ( "{:?}" , self . wDefault ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVNAMES { fn eq ( & self , other : & Self ) -> bool { self . wDriverOffset == other . wDriverOffset && self . wDeviceOffset == other . wDeviceOffset && self . wOutputOffset == other . wOutputOffset && self . wDefault == other . wDefault } } impl :: std :: cmp :: Eq for DEVNAMES { } unsafe impl :: windows :: Abi for DEVNAMES { type Abi = Self ; } pub const DF_ALLOWOTHERACCOUNTHOOK : i32 = 1i32 ; pub const DIFFERENCE : u32 = 11u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DI_FLAGS ( pub u32 ) ; impl DI_FLAGS { pub const DI_MASK : Self = Self ( 1u32 ) ; pub const DI_IMAGE : Self = Self ( 2u32 ) ; pub const DI_NORMAL : Self = Self ( 3u32 ) ; pub const DI_COMPAT : Self = Self ( 4u32 ) ; pub const DI_DEFAULTSIZE : Self = Self ( 8u32 ) ; pub const DI_NOMIRROR : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for DI_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DI_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for DI_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DI_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DI_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DI_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const DLGC_BUTTON : u32 = 8192u32 ; pub const DLGC_DEFPUSHBUTTON : u32 = 16u32 ; pub const DLGC_HASSETSEL : u32 = 8u32 ; pub const DLGC_RADIOBUTTON : u32 = 64u32 ; pub const DLGC_STATIC : u32 = 256u32 ; pub const DLGC_UNDEFPUSHBUTTON : u32 = 32u32 ; pub const DLGC_WANTALLKEYS : u32 = 4u32 ; pub const DLGC_WANTARROWS : u32 = 1u32 ; pub const DLGC_WANTCHARS : u32 = 128u32 ; pub const DLGC_WANTMESSAGE : u32 = 4u32 ; pub const DLGC_WANTTAB : u32 = 2u32 ; # [ repr ( C , packed ( 2 ) ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DLGITEMTEMPLATE { pub style : u32 , pub dwExtendedStyle : u32 , pub x : i16 , pub y : i16 , pub cx : i16 , pub cy : i16 , pub id : u16 } impl DLGITEMTEMPLATE { } unsafe impl :: windows :: Abi for DLGITEMTEMPLATE { type Abi = Self ; } pub const DLGWINDOWEXTRA : u32 = 30u32 ; pub const DM_GETDEFID : u32 = 1024u32 ; pub const DM_POINTERHITTEST : u32 = 592u32 ; pub const DM_REPOSITION : u32 = 1026u32 ; pub const DM_SETDEFID : u32 = 1025u32 ; pub const DN_DEFAULTPRN : u32 = 1u32 ; pub const DOF_DIRECTORY : u32 = 32771u32 ; pub const DOF_DOCUMENT : u32 = 32770u32 ; pub const DOF_EXECUTABLE : u32 = 32769u32 ; pub const DOF_MULTIPLE : u32 = 32772u32 ; pub const DOF_PROGMAN : u32 = 1u32 ; pub const DOF_SHELLDATA : u32 = 2u32 ; pub const DO_DROPFILE : i32 = 1162627398i32 ; pub const DO_PRINTFILE : i32 = 1414419024i32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DROPSTRUCT { pub hwndSource : HWND , pub hwndSink : HWND , pub wFmt : u32 , pub dwData : usize , pub ptDrop : super :: DisplayDevices :: POINT , pub dwControlData : u32 } impl DROPSTRUCT { } impl :: std :: default :: Default for DROPSTRUCT { fn default ( ) -> Self { Self { hwndSource : :: std :: default :: Default :: default ( ) , hwndSink : :: std :: default :: Default :: default ( ) , wFmt : 0 , dwData : 0 , ptDrop : :: std :: default :: Default :: default ( ) , dwControlData : 0 } } } impl :: std :: fmt :: Debug for DROPSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DROPSTRUCT" ) . field ( "hwndSource" , & format_args ! ( "{:?}" , self . hwndSource ) ) . field ( "hwndSink" , & format_args ! ( "{:?}" , self . hwndSink ) ) . field ( "wFmt" , & format_args ! ( "{:?}" , self . wFmt ) ) . field ( "dwData" , & format_args ! ( "{:?}" , self . dwData ) ) . field ( "ptDrop" , & format_args ! ( "{:?}" , self . ptDrop ) ) . field ( "dwControlData" , & format_args ! ( "{:?}" , self . dwControlData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DROPSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hwndSource == other . hwndSource && self . hwndSink == other . hwndSink && self . wFmt == other . wFmt && self . dwData == other . dwData && self . ptDrop == other . ptDrop && self . dwControlData == other . dwControlData } } impl :: std :: cmp :: Eq for DROPSTRUCT { } unsafe impl :: windows :: Abi for DROPSTRUCT { type Abi = Self ; } pub const DWLP_MSGRESULT : u32 = 0u32 ; pub const DWL_DLGPROC : u32 = 4u32 ; pub const DWL_MSGRESULT : u32 = 0u32 ; pub const DWL_USER : u32 = 8u32 ; pub unsafe fn DefDlgProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefDlgProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefFrameProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , hwndmdiclient : T1__ , umsg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefFrameProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , hwndmdiclient : T1__ , umsg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefMDIChildProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefMDIChildProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefWindowProcA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DefWindowProcW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "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 SetWindowPos_uFlags ( pub u32 ) ; impl SetWindowPos_uFlags { pub const SWP_ASYNCWINDOWPOS : Self = Self ( 16384u32 ) ; pub const SWP_DEFERERASE : Self = Self ( 8192u32 ) ; pub const SWP_DRAWFRAME : Self = Self ( 32u32 ) ; pub const SWP_FRAMECHANGED : Self = Self ( 32u32 ) ; pub const SWP_HIDEWINDOW : Self = Self ( 128u32 ) ; pub const SWP_NOACTIVATE : Self = Self ( 16u32 ) ; pub const SWP_NOCOPYBITS : Self = Self ( 256u32 ) ; pub const SWP_NOMOVE : Self = Self ( 2u32 ) ; pub const SWP_NOOWNERZORDER : Self = Self ( 512u32 ) ; pub const SWP_NOREDRAW : Self = Self ( 8u32 ) ; pub const SWP_NOREPOSITION : Self = Self ( 512u32 ) ; pub const SWP_NOSENDCHANGING : Self = Self ( 1024u32 ) ; pub const SWP_NOSIZE : Self = Self ( 1u32 ) ; pub const SWP_NOZORDER : Self = Self ( 4u32 ) ; pub const SWP_SHOWWINDOW : Self = Self ( 64u32 ) ; pub const SWP__NOOWNERZORDER : Self = Self ( 512u32 ) ; } impl :: std :: convert :: From < u32 > for SetWindowPos_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowPos_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetWindowPos_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetWindowPos_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetWindowPos_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetWindowPos_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn DeferWindowPos < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , HWND > , > ( hwinposinfo : isize , hwnd : T1__ , hwndinsertafter : T2__ , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SetWindowPos_uFlags , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DeregisterShellHookWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyAcceleratorTable < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( haccel : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyCaret < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcursor : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct IndexedResourceQualifier { pub name : super :: SystemServices :: PWSTR , pub value : super :: SystemServices :: PWSTR } impl IndexedResourceQualifier { } impl :: std :: default :: Default for IndexedResourceQualifier { fn default ( ) -> Self { Self { name : :: std :: default :: Default :: default ( ) , value : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for IndexedResourceQualifier { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IndexedResourceQualifier" ) . field ( "name" , & format_args ! ( "{:?}" , self . name ) ) . field ( "value" , & format_args ! ( "{:?}" , self . value ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IndexedResourceQualifier { fn eq ( & self , other : & Self ) -> bool { self . name == other . name && self . value == other . value } } impl :: std :: cmp :: Eq for IndexedResourceQualifier { } unsafe impl :: windows :: Abi for IndexedResourceQualifier { type Abi = Self ; } pub unsafe fn DestroyIndexedResults < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( resourceuri : T0__ , qualifiercount : u32 , qualifiers : * mut IndexedResourceQualifier , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyResourceIndexer < > ( resourceindexer : * mut :: std :: ffi :: c_void , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DestroyWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxIndirectParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , hdialogtemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxIndirectParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , hdialogtemplate : * mut DLGTEMPLATE , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxParamA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DialogBoxParamW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hinstance : T0__ , lptemplatename : T1__ , hwndparent : T2__ , lpdialogfunc : :: std :: option :: Option < DLGPROC > , dwinitparam : T4__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DispatchMessageA < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DispatchMessageW < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DragObject < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T4__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hwndparent : T0__ , hwndfrom : T1__ , fmt : u32 , data : usize , hcur : T4__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawIcon < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T3__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hdc : T0__ , x : i32 , y : i32 , hicon : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawIconEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T3__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , T7__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBRUSH > , > ( hdc : T0__ , xleft : i32 , ytop : i32 , hicon : T3__ , cxwidth : i32 , cywidth : i32 , istepifanicur : u32 , hbrflickerfreedraw : T7__ , diflags : DI_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn DrawMenuBar < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const EC_LEFTMARGIN : u32 = 1u32 ; pub const EC_RIGHTMARGIN : u32 = 2u32 ; pub const EC_USEFONTINFO : u32 = 65535u32 ; pub const EDD_GET_DEVICE_INTERFACE_NAME : 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 EDIT_CONTROL_FEATURE ( pub i32 ) ; impl EDIT_CONTROL_FEATURE { pub const EDIT_CONTROL_FEATURE_ENTERPRISE_DATA_PROTECTION_PASTE_SUPPORT : Self = Self ( 0i32 ) ; pub const EDIT_CONTROL_FEATURE_PASTE_NOTIFICATIONS : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for EDIT_CONTROL_FEATURE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EDIT_CONTROL_FEATURE { type Abi = Self ; } pub const EDS_RAWMODE : u32 = 2u32 ; pub const EDS_ROTATEDMODE : u32 = 4u32 ; pub const EIMES_CANCELCOMPSTRINFOCUS : u32 = 2u32 ; pub const EIMES_COMPLETECOMPSTRKILLFOCUS : u32 = 4u32 ; pub const EIMES_GETCOMPSTRATONCE : u32 = 1u32 ; pub const EMSIS_COMPOSITIONSTRING : u32 = 1u32 ; pub const EM_CANUNDO : u32 = 198u32 ; pub const EM_EMPTYUNDOBUFFER : u32 = 205u32 ; pub const EM_ENABLEFEATURE : u32 = 218u32 ; pub const EM_FMTLINES : u32 = 200u32 ; pub const EM_GETFIRSTVISIBLELINE : u32 = 206u32 ; pub const EM_GETHANDLE : u32 = 189u32 ; pub const EM_GETIMESTATUS : u32 = 217u32 ; pub const EM_GETLINE : u32 = 196u32 ; pub const EM_GETLINECOUNT : u32 = 186u32 ; pub const EM_GETMARGINS : u32 = 212u32 ; pub const EM_GETMODIFY : u32 = 184u32 ; pub const EM_GETPASSWORDCHAR : u32 = 210u32 ; pub const EM_GETRECT : u32 = 178u32 ; pub const EM_GETSEL : u32 = 176u32 ; pub const EM_GETTHUMB : u32 = 190u32 ; pub const EM_GETWORDBREAKPROC : u32 = 209u32 ; pub const EM_LIMITTEXT : u32 = 197u32 ; pub const EM_LINEFROMCHAR : u32 = 201u32 ; pub const EM_LINEINDEX : u32 = 187u32 ; pub const EM_LINELENGTH : u32 = 193u32 ; pub const EM_LINESCROLL : u32 = 182u32 ; pub const EM_REPLACESEL : u32 = 194u32 ; pub const EM_SCROLL : u32 = 181u32 ; pub const EM_SETHANDLE : u32 = 188u32 ; pub const EM_SETIMESTATUS : u32 = 216u32 ; pub const EM_SETMARGINS : u32 = 211u32 ; pub const EM_SETMODIFY : u32 = 185u32 ; pub const EM_SETPASSWORDCHAR : u32 = 204u32 ; pub const EM_SETREADONLY : u32 = 207u32 ; pub const EM_SETRECT : u32 = 179u32 ; pub const EM_SETRECTNP : u32 = 180u32 ; pub const EM_SETSEL : u32 = 177u32 ; pub const EM_SETTABSTOPS : u32 = 203u32 ; pub const EM_SETWORDBREAKPROC : u32 = 208u32 ; pub const EM_UNDO : u32 = 199u32 ; pub const ENDSESSION_CLOSEAPP : u32 = 1u32 ; pub const ENDSESSION_CRITICAL : u32 = 1073741824u32 ; pub const ENDSESSION_LOGOFF : u32 = 2147483648u32 ; pub type ENUMRESNAMEPROCA = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PSTR , lpname : super :: SystemServices :: PSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESNAMEPROCW = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PWSTR , lpname : super :: SystemServices :: PWSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESTYPEPROCA = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub type ENUMRESTYPEPROCW = extern "system" fn ( hmodule : isize , lptype : super :: SystemServices :: PWSTR , lparam : isize ) -> super :: SystemServices :: BOOL ; pub const EN_AFTER_PASTE : u32 = 2049u32 ; pub const EN_ALIGN_LTR_EC : u32 = 1792u32 ; pub const EN_ALIGN_RTL_EC : u32 = 1793u32 ; pub const EN_BEFORE_PASTE : u32 = 2048u32 ; pub const EN_CHANGE : u32 = 768u32 ; pub const EN_ERRSPACE : u32 = 1280u32 ; pub const EN_HSCROLL : u32 = 1537u32 ; pub const EN_KILLFOCUS : u32 = 512u32 ; pub const EN_MAXTEXT : u32 = 1281u32 ; pub const EN_SETFOCUS : u32 = 256u32 ; pub const EN_UPDATE : u32 = 1024u32 ; pub const EN_VSCROLL : u32 = 1538u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct EVENTMSG { pub message : u32 , pub paramL : u32 , pub paramH : u32 , pub time : u32 , pub hwnd : HWND } impl EVENTMSG { } impl :: std :: default :: Default for EVENTMSG { fn default ( ) -> Self { Self { message : 0 , paramL : 0 , paramH : 0 , time : 0 , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for EVENTMSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EVENTMSG" ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "paramL" , & format_args ! ( "{:?}" , self . paramL ) ) . field ( "paramH" , & format_args ! ( "{:?}" , self . paramH ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EVENTMSG { fn eq ( & self , other : & Self ) -> bool { self . message == other . message && self . paramL == other . paramL && self . paramH == other . paramH && self . time == other . time && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for EVENTMSG { } unsafe impl :: windows :: Abi for EVENTMSG { type Abi = Self ; } pub const EVENT_AIA_END : u32 = 45055u32 ; pub const EVENT_AIA_START : u32 = 40960u32 ; pub const EVENT_CONSOLE_CARET : u32 = 16385u32 ; pub const EVENT_CONSOLE_END : u32 = 16639u32 ; pub const EVENT_CONSOLE_END_APPLICATION : u32 = 16391u32 ; pub const EVENT_CONSOLE_LAYOUT : u32 = 16389u32 ; pub const EVENT_CONSOLE_START_APPLICATION : u32 = 16390u32 ; pub const EVENT_CONSOLE_UPDATE_REGION : u32 = 16386u32 ; pub const EVENT_CONSOLE_UPDATE_SCROLL : u32 = 16388u32 ; pub const EVENT_CONSOLE_UPDATE_SIMPLE : u32 = 16387u32 ; pub const EVENT_MAX : u32 = 2147483647u32 ; pub const EVENT_MIN : u32 = 1u32 ; pub const EVENT_OBJECT_ACCELERATORCHANGE : u32 = 32786u32 ; pub const EVENT_OBJECT_CLOAKED : u32 = 32791u32 ; pub const EVENT_OBJECT_CONTENTSCROLLED : u32 = 32789u32 ; pub const EVENT_OBJECT_CREATE : u32 = 32768u32 ; pub const EVENT_OBJECT_DEFACTIONCHANGE : u32 = 32785u32 ; pub const EVENT_OBJECT_DESCRIPTIONCHANGE : u32 = 32781u32 ; pub const EVENT_OBJECT_DESTROY : u32 = 32769u32 ; pub const EVENT_OBJECT_DRAGCANCEL : u32 = 32802u32 ; pub const EVENT_OBJECT_DRAGCOMPLETE : u32 = 32803u32 ; pub const EVENT_OBJECT_DRAGDROPPED : u32 = 32806u32 ; pub const EVENT_OBJECT_DRAGENTER : u32 = 32804u32 ; pub const EVENT_OBJECT_DRAGLEAVE : u32 = 32805u32 ; pub const EVENT_OBJECT_DRAGSTART : u32 = 32801u32 ; pub const EVENT_OBJECT_END : u32 = 33023u32 ; pub const EVENT_OBJECT_FOCUS : u32 = 32773u32 ; pub const EVENT_OBJECT_HELPCHANGE : u32 = 32784u32 ; pub const EVENT_OBJECT_HIDE : u32 = 32771u32 ; pub const EVENT_OBJECT_HOSTEDOBJECTSINVALIDATED : u32 = 32800u32 ; pub const EVENT_OBJECT_IME_CHANGE : u32 = 32809u32 ; pub const EVENT_OBJECT_IME_HIDE : u32 = 32808u32 ; pub const EVENT_OBJECT_IME_SHOW : u32 = 32807u32 ; pub const EVENT_OBJECT_INVOKED : u32 = 32787u32 ; pub const EVENT_OBJECT_LIVEREGIONCHANGED : u32 = 32793u32 ; pub const EVENT_OBJECT_LOCATIONCHANGE : u32 = 32779u32 ; pub const EVENT_OBJECT_NAMECHANGE : u32 = 32780u32 ; pub const EVENT_OBJECT_PARENTCHANGE : u32 = 32783u32 ; pub const EVENT_OBJECT_REORDER : u32 = 32772u32 ; pub const EVENT_OBJECT_SELECTION : u32 = 32774u32 ; pub const EVENT_OBJECT_SELECTIONADD : u32 = 32775u32 ; pub const EVENT_OBJECT_SELECTIONREMOVE : u32 = 32776u32 ; pub const EVENT_OBJECT_SELECTIONWITHIN : u32 = 32777u32 ; pub const EVENT_OBJECT_SHOW : u32 = 32770u32 ; pub const EVENT_OBJECT_STATECHANGE : u32 = 32778u32 ; pub const EVENT_OBJECT_TEXTEDIT_CONVERSIONTARGETCHANGED : u32 = 32816u32 ; pub const EVENT_OBJECT_TEXTSELECTIONCHANGED : u32 = 32788u32 ; pub const EVENT_OBJECT_UNCLOAKED : u32 = 32792u32 ; pub const EVENT_OBJECT_VALUECHANGE : u32 = 32782u32 ; pub const EVENT_OEM_DEFINED_END : u32 = 511u32 ; pub const EVENT_OEM_DEFINED_START : u32 = 257u32 ; pub const EVENT_SYSTEM_ALERT : u32 = 2u32 ; pub const EVENT_SYSTEM_ARRANGMENTPREVIEW : u32 = 32790u32 ; pub const EVENT_SYSTEM_CAPTUREEND : u32 = 9u32 ; pub const EVENT_SYSTEM_CAPTURESTART : u32 = 8u32 ; pub const EVENT_SYSTEM_CONTEXTHELPEND : u32 = 13u32 ; pub const EVENT_SYSTEM_CONTEXTHELPSTART : u32 = 12u32 ; pub const EVENT_SYSTEM_DESKTOPSWITCH : u32 = 32u32 ; pub const EVENT_SYSTEM_DIALOGEND : u32 = 17u32 ; pub const EVENT_SYSTEM_DIALOGSTART : u32 = 16u32 ; pub const EVENT_SYSTEM_DRAGDROPEND : u32 = 15u32 ; pub const EVENT_SYSTEM_DRAGDROPSTART : u32 = 14u32 ; pub const EVENT_SYSTEM_END : u32 = 255u32 ; pub const EVENT_SYSTEM_FOREGROUND : u32 = 3u32 ; pub const EVENT_SYSTEM_IME_KEY_NOTIFICATION : u32 = 41u32 ; pub const EVENT_SYSTEM_MENUEND : u32 = 5u32 ; pub const EVENT_SYSTEM_MENUPOPUPEND : u32 = 7u32 ; pub const EVENT_SYSTEM_MENUPOPUPSTART : u32 = 6u32 ; pub const EVENT_SYSTEM_MENUSTART : u32 = 4u32 ; pub const EVENT_SYSTEM_MINIMIZEEND : u32 = 23u32 ; pub const EVENT_SYSTEM_MINIMIZESTART : u32 = 22u32 ; pub const EVENT_SYSTEM_MOVESIZEEND : u32 = 11u32 ; pub const EVENT_SYSTEM_MOVESIZESTART : u32 = 10u32 ; pub const EVENT_SYSTEM_SCROLLINGEND : u32 = 19u32 ; pub const EVENT_SYSTEM_SCROLLINGSTART : u32 = 18u32 ; pub const EVENT_SYSTEM_SOUND : u32 = 1u32 ; pub const EVENT_SYSTEM_SWITCHEND : u32 = 21u32 ; pub const EVENT_SYSTEM_SWITCHER_APPDROPPED : u32 = 38u32 ; pub const EVENT_SYSTEM_SWITCHER_APPGRABBED : u32 = 36u32 ; pub const EVENT_SYSTEM_SWITCHER_APPOVERTARGET : u32 = 37u32 ; pub const EVENT_SYSTEM_SWITCHER_CANCELLED : u32 = 39u32 ; pub const EVENT_SYSTEM_SWITCHSTART : u32 = 20u32 ; pub const EVENT_UIA_EVENTID_END : u32 = 20223u32 ; pub const EVENT_UIA_EVENTID_START : u32 = 19968u32 ; pub const EVENT_UIA_PROPID_END : u32 = 30207u32 ; pub const EVENT_UIA_PROPID_START : u32 = 29952u32 ; pub const EWX_ARSO : u32 = 67108864u32 ; pub const EWX_BOOTOPTIONS : u32 = 16777216u32 ; pub const EWX_FORCE : u32 = 4u32 ; pub const EWX_FORCEIFHUNG : u32 = 16u32 ; pub const EWX_QUICKRESOLVE : u32 = 32u32 ; pub unsafe fn EnableMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uidenableitem : u32 , uenable : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndDeferWindowPos < > ( hwinposinfo : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndDialog < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , nresult : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndMenu < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndUpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hupdate : T0__ , fdiscard : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EndUpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hupdate : T0__ , fdiscard : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub type WNDENUMPROC = extern "system" fn ( param0 : HWND , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumChildWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwndparent : T0__ , lpenumfunc : :: std :: option :: Option < WNDENUMPROC > , lparam : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCA = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PSTR , param2 : super :: SystemServices :: HANDLE ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCA > , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCEXA = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PSTR , param2 : super :: SystemServices :: HANDLE , param3 : usize ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCEXA > , lparam : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCEXW = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PWSTR , param2 : super :: SystemServices :: HANDLE , param3 : usize ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCEXW > , lparam : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub type PROPENUMPROCW = extern "system" fn ( param0 : HWND , param1 : super :: SystemServices :: PWSTR , param2 : super :: SystemServices :: HANDLE ) -> super :: SystemServices :: BOOL ; pub unsafe fn EnumPropsW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpenumfunc : :: std :: option :: Option < PROPENUMPROCW > , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceLanguagesW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , lpenumfunc : :: std :: option :: Option < super :: SystemServices :: ENUMRESLANGPROCW > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceNamesExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmodule : isize , lptype : T1__ , lpenumfunc : :: std :: option :: Option < ENUMRESNAMEPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesA < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCA > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesExA < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCA > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesExW < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCW > , lparam : isize , dwflags : u32 , langid : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumResourceTypesW < > ( hmodule : isize , lpenumfunc : :: std :: option :: Option < ENUMRESTYPEPROCW > , lparam : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumThreadWindows < 'a , T2__ : :: windows :: IntoParam < 'a , LPARAM > , > ( dwthreadid : u32 , lpfn : :: std :: option :: Option < WNDENUMPROC > , lparam : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn EnumWindows < 'a , T1__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lpenumfunc : :: std :: option :: Option < WNDENUMPROC > , lparam : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const FALT : u32 = 16u32 ; pub const FAPPCOMMAND_KEY : u32 = 0u32 ; pub const FAPPCOMMAND_MASK : u32 = 61440u32 ; pub const FAPPCOMMAND_MOUSE : u32 = 32768u32 ; pub const FAPPCOMMAND_OEM : u32 = 4096u32 ; pub const FCONTROL : u32 = 8u32 ; pub const FE_FONTSMOOTHINGCLEARTYPE : u32 = 2u32 ; pub const FE_FONTSMOOTHINGORIENTATIONBGR : u32 = 0u32 ; pub const FE_FONTSMOOTHINGORIENTATIONRGB : u32 = 1u32 ; pub const FE_FONTSMOOTHINGSTANDARD : 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 FINDREPLACEW_Flags ( pub u32 ) ; impl FINDREPLACEW_Flags { pub const FR_DIALOGTERM : Self = Self ( 64u32 ) ; pub const FR_DOWN : Self = Self ( 1u32 ) ; pub const FR_ENABLEHOOK : Self = Self ( 256u32 ) ; pub const FR_ENABLETEMPLATE : Self = Self ( 512u32 ) ; pub const FR_ENABLETEMPLATEHANDLE : Self = Self ( 8192u32 ) ; pub const FR_FINDNEXT : Self = Self ( 8u32 ) ; pub const FR_HIDEUPDOWN : Self = Self ( 16384u32 ) ; pub const FR_HIDEMATCHCASE : Self = Self ( 32768u32 ) ; pub const FR_HIDEWHOLEWORD : Self = Self ( 65536u32 ) ; pub const FR_MATCHCASE : Self = Self ( 4u32 ) ; pub const FR_NOMATCHCASE : Self = Self ( 2048u32 ) ; pub const FR_NOUPDOWN : Self = Self ( 1024u32 ) ; pub const FR_NOWHOLEWORD : Self = Self ( 4096u32 ) ; pub const FR_REPLACE : Self = Self ( 16u32 ) ; pub const FR_REPLACEALL : Self = Self ( 32u32 ) ; pub const FR_SHOWHELP : Self = Self ( 128u32 ) ; pub const FR_WHOLEWORD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for FINDREPLACEW_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FINDREPLACEW_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for FINDREPLACEW_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FINDREPLACEW_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FINDREPLACEW_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FINDREPLACEW_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub type LPFRHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FINDREPLACEA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Flags : FINDREPLACEW_Flags , pub lpstrFindWhat : super :: SystemServices :: PSTR , pub lpstrReplaceWith : super :: SystemServices :: PSTR , pub wFindWhatLen : u16 , pub wReplaceWithLen : u16 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPFRHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl FINDREPLACEA { } impl :: std :: default :: Default for FINDREPLACEA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , lpstrFindWhat : :: std :: default :: Default :: default ( ) , lpstrReplaceWith : :: std :: default :: Default :: default ( ) , wFindWhatLen : 0 , wReplaceWithLen : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FINDREPLACEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FINDREPLACEA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lpstrFindWhat" , & format_args ! ( "{:?}" , self . lpstrFindWhat ) ) . field ( "lpstrReplaceWith" , & format_args ! ( "{:?}" , self . lpstrReplaceWith ) ) . field ( "wFindWhatLen" , & format_args ! ( "{:?}" , self . wFindWhatLen ) ) . field ( "wReplaceWithLen" , & format_args ! ( "{:?}" , self . wReplaceWithLen ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FINDREPLACEA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . Flags == other . Flags && self . lpstrFindWhat == other . lpstrFindWhat && self . lpstrReplaceWith == other . lpstrReplaceWith && self . wFindWhatLen == other . wFindWhatLen && self . wReplaceWithLen == other . wReplaceWithLen && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for FINDREPLACEA { } unsafe impl :: windows :: Abi for FINDREPLACEA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FINDREPLACEW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub Flags : FINDREPLACEW_Flags , pub lpstrFindWhat : super :: SystemServices :: PWSTR , pub lpstrReplaceWith : super :: SystemServices :: PWSTR , pub wFindWhatLen : u16 , pub wReplaceWithLen : u16 , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPFRHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl FINDREPLACEW { } impl :: std :: default :: Default for FINDREPLACEW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , lpstrFindWhat : :: std :: default :: Default :: default ( ) , lpstrReplaceWith : :: std :: default :: Default :: default ( ) , wFindWhatLen : 0 , wReplaceWithLen : 0 , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FINDREPLACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FINDREPLACEW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "lpstrFindWhat" , & format_args ! ( "{:?}" , self . lpstrFindWhat ) ) . field ( "lpstrReplaceWith" , & format_args ! ( "{:?}" , self . lpstrReplaceWith ) ) . field ( "wFindWhatLen" , & format_args ! ( "{:?}" , self . wFindWhatLen ) ) . field ( "wReplaceWithLen" , & format_args ! ( "{:?}" , self . wReplaceWithLen ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FINDREPLACEW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . Flags == other . Flags && self . lpstrFindWhat == other . lpstrFindWhat && self . lpstrReplaceWith == other . lpstrReplaceWith && self . wFindWhatLen == other . wFindWhatLen && self . wReplaceWithLen == other . wReplaceWithLen && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName } } impl :: std :: cmp :: Eq for FINDREPLACEW { } unsafe impl :: windows :: Abi for FINDREPLACEW { type Abi = Self ; } pub const FKF_AVAILABLE : u32 = 2u32 ; pub const FKF_CLICKON : u32 = 64u32 ; pub const FKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const FKF_FILTERKEYSON : u32 = 1u32 ; pub const FKF_HOTKEYACTIVE : u32 = 4u32 ; pub const FKF_HOTKEYSOUND : u32 = 16u32 ; pub const FKF_INDICATOR : u32 = 32u32 ; pub const FNOINVERT : u32 = 2u32 ; pub const FRM_FIRST : u32 = 1124u32 ; pub const FRM_LAST : u32 = 1224u32 ; pub const FRM_SETOPERATIONRESULT : u32 = 1124u32 ; pub const FRM_SETOPERATIONRESULTTEXT : u32 = 1125u32 ; pub const FR_NOWRAPAROUND : u32 = 524288u32 ; pub const FR_RAW : u32 = 131072u32 ; pub const FR_SHOWWRAPAROUND : u32 = 262144u32 ; pub const FR_WRAPAROUND : u32 = 1048576u32 ; pub const FSHIFT : u32 = 4u32 ; pub const FVIRTKEY : u32 = 1u32 ; pub unsafe fn FindResourceA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lpname : T1__ , lptype : T2__ , ) -> super :: SystemServices :: HRSRC { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindResourceExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmodule : isize , lptype : T1__ , lpname : T2__ , wlanguage : u16 , ) -> super :: SystemServices :: HRSRC { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindTextA < > ( param0 : * mut FINDREPLACEA , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindTextW < > ( param0 : * mut FINDREPLACEW , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpclassname : T0__ , lpwindowname : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwndparent : T0__ , hwndchildafter : T1__ , lpszclass : T2__ , lpszwindow : T3__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwndparent : T0__ , hwndchildafter : T1__ , lpszclass : T2__ , lpszwindow : T3__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FindWindowW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpclassname : T0__ , lpwindowname : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeResource < > ( hresdata : isize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const GCF_INCLUDE_ANCESTORS : u32 = 1u32 ; pub const GESTURECONFIGMAXCOUNT : u32 = 256u32 ; pub const GESTUREVISUALIZATION_DOUBLETAP : u32 = 2u32 ; pub const GESTUREVISUALIZATION_OFF : u32 = 0u32 ; pub const GESTUREVISUALIZATION_ON : u32 = 31u32 ; pub const GESTUREVISUALIZATION_PRESSANDHOLD : u32 = 8u32 ; pub const GESTUREVISUALIZATION_PRESSANDTAP : u32 = 4u32 ; pub const GESTUREVISUALIZATION_RIGHTTAP : u32 = 16u32 ; pub const GESTUREVISUALIZATION_TAP : u32 = 1u32 ; pub const GF_BEGIN : u32 = 1u32 ; pub const GF_END : u32 = 4u32 ; pub const GF_INERTIA : u32 = 2u32 ; pub const GIDC_ARRIVAL : u32 = 1u32 ; pub const GIDC_REMOVAL : 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 GUITHREADINFO_flags ( pub u32 ) ; impl GUITHREADINFO_flags { pub const GUI_CARETBLINKING : Self = Self ( 1u32 ) ; pub const GUI_INMENUMODE : Self = Self ( 4u32 ) ; pub const GUI_INMOVESIZE : Self = Self ( 2u32 ) ; pub const GUI_POPUPMENUMODE : Self = Self ( 16u32 ) ; pub const GUI_SYSTEMMENUMODE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for GUITHREADINFO_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GUITHREADINFO_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for GUITHREADINFO_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GUITHREADINFO_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GUITHREADINFO_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GUITHREADINFO_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct GUITHREADINFO { pub cbSize : u32 , pub flags : GUITHREADINFO_flags , pub hwndActive : HWND , pub hwndFocus : HWND , pub hwndCapture : HWND , pub hwndMenuOwner : HWND , pub hwndMoveSize : HWND , pub hwndCaret : HWND , pub rcCaret : super :: DisplayDevices :: RECT } impl GUITHREADINFO { } impl :: std :: default :: Default for GUITHREADINFO { fn default ( ) -> Self { Self { cbSize : 0 , flags : :: std :: default :: Default :: default ( ) , hwndActive : :: std :: default :: Default :: default ( ) , hwndFocus : :: std :: default :: Default :: default ( ) , hwndCapture : :: std :: default :: Default :: default ( ) , hwndMenuOwner : :: std :: default :: Default :: default ( ) , hwndMoveSize : :: std :: default :: Default :: default ( ) , hwndCaret : :: std :: default :: Default :: default ( ) , rcCaret : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for GUITHREADINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GUITHREADINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "hwndActive" , & format_args ! ( "{:?}" , self . hwndActive ) ) . field ( "hwndFocus" , & format_args ! ( "{:?}" , self . hwndFocus ) ) . field ( "hwndCapture" , & format_args ! ( "{:?}" , self . hwndCapture ) ) . field ( "hwndMenuOwner" , & format_args ! ( "{:?}" , self . hwndMenuOwner ) ) . field ( "hwndMoveSize" , & format_args ! ( "{:?}" , self . hwndMoveSize ) ) . field ( "hwndCaret" , & format_args ! ( "{:?}" , self . hwndCaret ) ) . field ( "rcCaret" , & format_args ! ( "{:?}" , self . rcCaret ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GUITHREADINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . flags == other . flags && self . hwndActive == other . hwndActive && self . hwndFocus == other . hwndFocus && self . hwndCapture == other . hwndCapture && self . hwndMenuOwner == other . hwndMenuOwner && self . hwndMoveSize == other . hwndMoveSize && self . hwndCaret == other . hwndCaret && self . rcCaret == other . rcCaret } } impl :: std :: cmp :: Eq for GUITHREADINFO { } unsafe impl :: windows :: Abi for GUITHREADINFO { type Abi = Self ; } pub const GUI_16BITTASK : u32 = 0u32 ; pub const GWFS_INCLUDE_ANCESTORS : u32 = 1u32 ; pub const GW_MAX : u32 = 5u32 ; pub unsafe fn GetAltTabInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , iitem : i32 , pati : * mut ALTTABINFO , pszitemtext : super :: SystemServices :: PSTR , cchitemtext : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetAltTabInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , iitem : i32 , pati : * mut ALTTABINFO , pszitemtext : super :: SystemServices :: PWSTR , cchitemtext : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "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 GetAncestor_gaFlags ( pub u32 ) ; impl GetAncestor_gaFlags { pub const GA_PARENT : Self = Self ( 1u32 ) ; pub const GA_ROOT : Self = Self ( 2u32 ) ; pub const GA_ROOTOWNER : Self = Self ( 3u32 ) ; } impl :: std :: convert :: From < u32 > for GetAncestor_gaFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetAncestor_gaFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetAncestor_gaFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetAncestor_gaFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetAncestor_gaFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetAncestor_gaFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetAncestor < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , gaflags : GetAncestor_gaFlags , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCaretBlinkTime < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCaretPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "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 WNDCLASS_STYLES ( pub u32 ) ; impl WNDCLASS_STYLES { pub const CS_VREDRAW : Self = Self ( 1u32 ) ; pub const CS_HREDRAW : Self = Self ( 2u32 ) ; pub const CS_DBLCLKS : Self = Self ( 8u32 ) ; pub const CS_OWNDC : Self = Self ( 32u32 ) ; pub const CS_CLASSDC : Self = Self ( 64u32 ) ; pub const CS_PARENTDC : Self = Self ( 128u32 ) ; pub const CS_NOCLOSE : Self = Self ( 512u32 ) ; pub const CS_SAVEBITS : Self = Self ( 2048u32 ) ; pub const CS_BYTEALIGNCLIENT : Self = Self ( 4096u32 ) ; pub const CS_BYTEALIGNWINDOW : Self = Self ( 8192u32 ) ; pub const CS_GLOBALCLASS : Self = Self ( 16384u32 ) ; pub const CS_IME : Self = Self ( 65536u32 ) ; pub const CS_DROPSHADOW : Self = Self ( 131072u32 ) ; } impl :: std :: convert :: From < u32 > for WNDCLASS_STYLES { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WNDCLASS_STYLES { type Abi = Self ; } impl :: std :: ops :: BitOr for WNDCLASS_STYLES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WNDCLASS_STYLES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WNDCLASS_STYLES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WNDCLASS_STYLES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSA { pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PSTR , pub lpszClassName : super :: SystemServices :: PSTR } impl WNDCLASSA { } impl :: std :: default :: Default for WNDCLASSA { fn default ( ) -> Self { Self { style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSA" ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSA { fn eq ( & self , other : & Self ) -> bool { self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName } } impl :: std :: cmp :: Eq for WNDCLASSA { } unsafe impl :: windows :: Abi for WNDCLASSA { type Abi = Self ; } pub unsafe fn GetClassInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpclassname : T1__ , lpwndclass : * mut WNDCLASSA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSEXA { pub cbSize : u32 , pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PSTR , pub lpszClassName : super :: SystemServices :: PSTR , pub hIconSm : super :: MenusAndResources :: HICON } impl WNDCLASSEXA { } impl :: std :: default :: Default for WNDCLASSEXA { fn default ( ) -> Self { Self { cbSize : 0 , style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) , hIconSm : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSEXA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . field ( "hIconSm" , & format_args ! ( "{:?}" , self . hIconSm ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSEXA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName && self . hIconSm == other . hIconSm } } impl :: std :: cmp :: Eq for WNDCLASSEXA { } unsafe impl :: windows :: Abi for WNDCLASSEXA { type Abi = Self ; } pub unsafe fn GetClassInfoExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpszclass : T1__ , lpwcx : * mut WNDCLASSEXA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSEXW { pub cbSize : u32 , pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PWSTR , pub lpszClassName : super :: SystemServices :: PWSTR , pub hIconSm : super :: MenusAndResources :: HICON } impl WNDCLASSEXW { } impl :: std :: default :: Default for WNDCLASSEXW { fn default ( ) -> Self { Self { cbSize : 0 , style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) , hIconSm : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSEXW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . field ( "hIconSm" , & format_args ! ( "{:?}" , self . hIconSm ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSEXW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName && self . hIconSm == other . hIconSm } } impl :: std :: cmp :: Eq for WNDCLASSEXW { } unsafe impl :: windows :: Abi for WNDCLASSEXW { type Abi = Self ; } pub unsafe fn GetClassInfoExW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpszclass : T1__ , lpwcx : * mut WNDCLASSEXW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WNDCLASSW { pub style : WNDCLASS_STYLES , pub lpfnWndProc : :: std :: option :: Option < WNDPROC > , pub cbClsExtra : i32 , pub cbWndExtra : i32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub hIcon : super :: MenusAndResources :: HICON , pub hCursor : super :: MenusAndResources :: HCURSOR , pub hbrBackground : super :: Gdi :: HBRUSH , pub lpszMenuName : super :: SystemServices :: PWSTR , pub lpszClassName : super :: SystemServices :: PWSTR } impl WNDCLASSW { } impl :: std :: default :: Default for WNDCLASSW { fn default ( ) -> Self { Self { style : :: std :: default :: Default :: default ( ) , lpfnWndProc : :: std :: default :: Default :: default ( ) , cbClsExtra : 0 , cbWndExtra : 0 , hInstance : :: std :: default :: Default :: default ( ) , hIcon : :: std :: default :: Default :: default ( ) , hCursor : :: std :: default :: Default :: default ( ) , hbrBackground : :: std :: default :: Default :: default ( ) , lpszMenuName : :: std :: default :: Default :: default ( ) , lpszClassName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WNDCLASSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDCLASSW" ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "cbClsExtra" , & format_args ! ( "{:?}" , self . cbClsExtra ) ) . field ( "cbWndExtra" , & format_args ! ( "{:?}" , self . cbWndExtra ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "hIcon" , & format_args ! ( "{:?}" , self . hIcon ) ) . field ( "hCursor" , & format_args ! ( "{:?}" , self . hCursor ) ) . field ( "hbrBackground" , & format_args ! ( "{:?}" , self . hbrBackground ) ) . field ( "lpszMenuName" , & format_args ! ( "{:?}" , self . lpszMenuName ) ) . field ( "lpszClassName" , & format_args ! ( "{:?}" , self . lpszClassName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDCLASSW { fn eq ( & self , other : & Self ) -> bool { self . style == other . style && self . lpfnWndProc . map ( | f | f as usize ) == other . lpfnWndProc . map ( | f | f as usize ) && self . cbClsExtra == other . cbClsExtra && self . cbWndExtra == other . cbWndExtra && self . hInstance == other . hInstance && self . hIcon == other . hIcon && self . hCursor == other . hCursor && self . hbrBackground == other . hbrBackground && self . lpszMenuName == other . lpszMenuName && self . lpszClassName == other . lpszClassName } } impl :: std :: cmp :: Eq for WNDCLASSW { } unsafe impl :: windows :: Abi for WNDCLASSW { type Abi = Self ; } pub unsafe fn GetClassInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpclassname : T1__ , lpwndclass : * mut WNDCLASSW , ) -> super :: SystemServices :: BOOL { panic ! ( "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 GetClassLong_nIndex ( pub i32 ) ; impl GetClassLong_nIndex { pub const GCW_ATOM : Self = Self ( -32i32 ) ; pub const GCL_CBCLSEXTRA : Self = Self ( -20i32 ) ; pub const GCL_CBWNDEXTRA : Self = Self ( -18i32 ) ; pub const GCL_HBRBACKGROUND : Self = Self ( -10i32 ) ; pub const GCL_HCURSOR : Self = Self ( -12i32 ) ; pub const GCL_HICON : Self = Self ( -14i32 ) ; pub const GCL_HICONSM : Self = Self ( -34i32 ) ; pub const GCL_HMODULE : Self = Self ( -16i32 ) ; pub const GCL_MENUNAME : Self = Self ( -8i32 ) ; pub const GCL_STYLE : Self = Self ( -26i32 ) ; pub const GCL_WNDPROC : Self = Self ( -24i32 ) ; pub const GCLP_HBRBACKGROUND : Self = Self ( -10i32 ) ; pub const GCLP_HCURSOR : Self = Self ( -12i32 ) ; pub const GCLP_HICON : Self = Self ( -14i32 ) ; pub const GCLP_HICONSM : Self = Self ( -34i32 ) ; pub const GCLP_HMODULE : Self = Self ( -16i32 ) ; pub const GCLP_MENUNAME : Self = Self ( -8i32 ) ; pub const GCLP_WNDPROC : Self = Self ( -24i32 ) ; } impl :: std :: convert :: From < i32 > for GetClassLong_nIndex { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetClassLong_nIndex { type Abi = Self ; } pub unsafe fn GetClassLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassNameA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpclassname : super :: SystemServices :: PSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassNameW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpclassname : super :: SystemServices :: PWSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClientRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClipCursor < > ( lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursor < > ( ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursorInfo < > ( pci : * mut CURSORINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCursorPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDesktopWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDialogBaseUnits < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgCtrlID < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemInt < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , niddlgitem : i32 , lptranslated : * mut super :: SystemServices :: BOOL , bsigned : T3__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : super :: SystemServices :: PSTR , cchmax : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDlgItemTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : super :: SystemServices :: PWSTR , cchmax : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDpiAwarenessContextForProcess < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hprocess : T0__ , ) -> super :: SystemServices :: DPI_AWARENESS_CONTEXT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTitleA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : T0__ , buf : super :: SystemServices :: PSTR , cchsize : u16 , ) -> i16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTitleW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : T0__ , buf : super :: SystemServices :: PWSTR , cchsize : u16 , ) -> i16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lptstrfilename : T0__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lptstrfilename : T0__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( dwflags : u32 , lpwstrfilename : T1__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lptstrfilename : T0__ , lpdwhandle : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lptstrfilename : T0__ , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetForegroundWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGUIThreadInfo < > ( idthread : u32 , pgui : * mut GUITHREADINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetIconInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFOEXA { pub cbSize : u32 , pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP , pub wResID : u16 , pub szModName : [ i8 ;260 ] , pub szResName : [ i8 ;260 ] } impl ICONINFOEXA { } impl :: std :: default :: Default for ICONINFOEXA { fn default ( ) -> Self { Self { cbSize : 0 , fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) , wResID : 0 , szModName : [ 0 ;260 ] , szResName : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for ICONINFOEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFOEXA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . field ( "wResID" , & format_args ! ( "{:?}" , self . wResID ) ) . field ( "szModName" , & format_args ! ( "{:?}" , self . szModName ) ) . field ( "szResName" , & format_args ! ( "{:?}" , self . szResName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFOEXA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor && self . wResID == other . wResID && self . szModName == other . szModName && self . szResName == other . szResName } } impl :: std :: cmp :: Eq for ICONINFOEXA { } unsafe impl :: windows :: Abi for ICONINFOEXA { type Abi = Self ; } pub unsafe fn GetIconInfoExA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFOEXA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONINFOEXW { pub cbSize : u32 , pub fIcon : super :: SystemServices :: BOOL , pub xHotspot : u32 , pub yHotspot : u32 , pub hbmMask : super :: Gdi :: HBITMAP , pub hbmColor : super :: Gdi :: HBITMAP , pub wResID : u16 , pub szModName : [ u16 ;260 ] , pub szResName : [ u16 ;260 ] } impl ICONINFOEXW { } impl :: std :: default :: Default for ICONINFOEXW { fn default ( ) -> Self { Self { cbSize : 0 , fIcon : :: std :: default :: Default :: default ( ) , xHotspot : 0 , yHotspot : 0 , hbmMask : :: std :: default :: Default :: default ( ) , hbmColor : :: std :: default :: Default :: default ( ) , wResID : 0 , szModName : [ 0 ;260 ] , szResName : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for ICONINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONINFOEXW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fIcon" , & format_args ! ( "{:?}" , self . fIcon ) ) . field ( "xHotspot" , & format_args ! ( "{:?}" , self . xHotspot ) ) . field ( "yHotspot" , & format_args ! ( "{:?}" , self . yHotspot ) ) . field ( "hbmMask" , & format_args ! ( "{:?}" , self . hbmMask ) ) . field ( "hbmColor" , & format_args ! ( "{:?}" , self . hbmColor ) ) . field ( "wResID" , & format_args ! ( "{:?}" , self . wResID ) ) . field ( "szModName" , & format_args ! ( "{:?}" , self . szModName ) ) . field ( "szResName" , & format_args ! ( "{:?}" , self . szResName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fIcon == other . fIcon && self . xHotspot == other . xHotspot && self . yHotspot == other . yHotspot && self . hbmMask == other . hbmMask && self . hbmColor == other . hbmColor && self . wResID == other . wResID && self . szModName == other . szModName && self . szResName == other . szResName } } impl :: std :: cmp :: Eq for ICONINFOEXW { } unsafe impl :: windows :: Abi for ICONINFOEXW { type Abi = Self ; } pub unsafe fn GetIconInfoExW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HICON > , > ( hicon : T0__ , piconinfo : * mut ICONINFOEXW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetInputState < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLastActivePopup < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "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 SetLayeredWindowAttributes_dwFlags ( pub u32 ) ; impl SetLayeredWindowAttributes_dwFlags { pub const LWA_ALPHA : Self = Self ( 2u32 ) ; pub const LWA_COLORKEY : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for SetLayeredWindowAttributes_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetLayeredWindowAttributes_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetLayeredWindowAttributes_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetLayeredWindowAttributes_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetLayeredWindowAttributes_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetLayeredWindowAttributes_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetLayeredWindowAttributes < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pcrkey : * mut u32 , pbalpha : * mut u8 , pdwflags : * mut SetLayeredWindowAttributes_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUBARINFO { pub cbSize : u32 , pub rcBar : super :: DisplayDevices :: RECT , pub hMenu : super :: MenusAndResources :: HMENU , pub hwndMenu : HWND , pub _bitfield : i32 } impl MENUBARINFO { } impl :: std :: default :: Default for MENUBARINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcBar : :: std :: default :: Default :: default ( ) , hMenu : :: std :: default :: Default :: default ( ) , hwndMenu : :: std :: default :: Default :: default ( ) , _bitfield : 0 } } } impl :: std :: fmt :: Debug for MENUBARINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUBARINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcBar" , & format_args ! ( "{:?}" , self . rcBar ) ) . field ( "hMenu" , & format_args ! ( "{:?}" , self . hMenu ) ) . field ( "hwndMenu" , & format_args ! ( "{:?}" , self . hwndMenu ) ) . field ( "_bitfield" , & format_args ! ( "{:?}" , self . _bitfield ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUBARINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcBar == other . rcBar && self . hMenu == other . hMenu && self . hwndMenu == other . hwndMenu && self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for MENUBARINFO { } unsafe impl :: windows :: Abi for MENUBARINFO { type Abi = Self ; } pub unsafe fn GetMenuBarInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , idobject : super :: Controls :: SCROLLBAR_OBJID , iditem : i32 , pmbi : * mut MENUBARINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuCheckMarkDimensions < > ( ) -> i32 { panic ! ( "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 GetMenuDefaultItem_gmdiFlags ( pub u32 ) ; impl GetMenuDefaultItem_gmdiFlags { pub const GMDI_GOINTOPOPUPS : Self = Self ( 2u32 ) ; pub const GMDI_USEDISABLED : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for GetMenuDefaultItem_gmdiFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetMenuDefaultItem_gmdiFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetMenuDefaultItem_gmdiFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetMenuDefaultItem_gmdiFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetMenuDefaultItem_gmdiFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetMenuDefaultItem_gmdiFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetMenuDefaultItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , fbypos : u32 , gmdiflags : GetMenuDefaultItem_gmdiFlags , ) -> u32 { panic ! ( "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 MENUINFO_fMaskFlags ( pub u32 ) ; impl MENUINFO_fMaskFlags { pub const MIM_APPLYTOSUBMENUS : Self = Self ( 2147483648u32 ) ; pub const MIM_BACKGROUND : Self = Self ( 2u32 ) ; pub const MIM_HELPID : Self = Self ( 4u32 ) ; pub const MIM_MAXHEIGHT : Self = Self ( 1u32 ) ; pub const MIM_MENUDATA : Self = Self ( 8u32 ) ; pub const MIM_STYLE : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for MENUINFO_fMaskFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUINFO_fMaskFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUINFO_fMaskFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUINFO_fMaskFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUINFO_fMaskFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUINFO_fMaskFlags { 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 MENUINFO_dwStyleFlags ( pub u32 ) ; impl MENUINFO_dwStyleFlags { pub const MNS_AUTODISMISS : Self = Self ( 268435456u32 ) ; pub const MNS_CHECKORBMP : Self = Self ( 67108864u32 ) ; pub const MNS_DRAGDROP : Self = Self ( 536870912u32 ) ; pub const MNS_MODELESS : Self = Self ( 1073741824u32 ) ; pub const MNS_NOCHECK : Self = Self ( 2147483648u32 ) ; pub const MNS_NOTIFYBYPOS : Self = Self ( 134217728u32 ) ; } impl :: std :: convert :: From < u32 > for MENUINFO_dwStyleFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUINFO_dwStyleFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUINFO_dwStyleFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUINFO_dwStyleFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUINFO_dwStyleFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUINFO_dwStyleFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUINFO { pub cbSize : u32 , pub fMask : MENUINFO_fMaskFlags , pub dwStyle : MENUINFO_dwStyleFlags , pub cyMax : u32 , pub hbrBack : super :: Gdi :: HBRUSH , pub dwContextHelpID : u32 , pub dwMenuData : usize } impl MENUINFO { } impl :: std :: default :: Default for MENUINFO { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , cyMax : 0 , hbrBack : :: std :: default :: Default :: default ( ) , dwContextHelpID : 0 , dwMenuData : 0 } } } impl :: std :: fmt :: Debug for MENUINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "cyMax" , & format_args ! ( "{:?}" , self . cyMax ) ) . field ( "hbrBack" , & format_args ! ( "{:?}" , self . hbrBack ) ) . field ( "dwContextHelpID" , & format_args ! ( "{:?}" , self . dwContextHelpID ) ) . field ( "dwMenuData" , & format_args ! ( "{:?}" , self . dwMenuData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . dwStyle == other . dwStyle && self . cyMax == other . cyMax && self . hbrBack == other . hbrBack && self . dwContextHelpID == other . dwContextHelpID && self . dwMenuData == other . dwMenuData } } impl :: std :: cmp :: Eq for MENUINFO { } unsafe impl :: windows :: Abi for MENUINFO { type Abi = Self ; } pub unsafe fn GetMenuInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( param0 : T0__ , param1 : * mut MENUINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemCount < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemID < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , npos : i32 , ) -> u32 { panic ! ( "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 MENU_ITEM_MASK ( pub u32 ) ; impl MENU_ITEM_MASK { pub const MIIM_BITMAP : Self = Self ( 128u32 ) ; pub const MIIM_CHECKMARKS : Self = Self ( 8u32 ) ; pub const MIIM_DATA : Self = Self ( 32u32 ) ; pub const MIIM_FTYPE : Self = Self ( 256u32 ) ; pub const MIIM_ID : Self = Self ( 2u32 ) ; pub const MIIM_STATE : Self = Self ( 1u32 ) ; pub const MIIM_STRING : Self = Self ( 64u32 ) ; pub const MIIM_SUBMENU : Self = Self ( 4u32 ) ; pub const MIIM_TYPE : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_MASK { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_MASK { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_MASK { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_MASK { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_MASK { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_MASK { 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 MENU_ITEM_TYPE ( pub u32 ) ; impl MENU_ITEM_TYPE { pub const MFT_BITMAP : Self = Self ( 4u32 ) ; pub const MFT_MENUBARBREAK : Self = Self ( 32u32 ) ; pub const MFT_MENUBREAK : Self = Self ( 64u32 ) ; pub const MFT_OWNERDRAW : Self = Self ( 256u32 ) ; pub const MFT_RADIOCHECK : Self = Self ( 512u32 ) ; pub const MFT_RIGHTJUSTIFY : Self = Self ( 16384u32 ) ; pub const MFT_RIGHTORDER : Self = Self ( 8192u32 ) ; pub const MFT_SEPARATOR : Self = Self ( 2048u32 ) ; pub const MFT_STRING : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_TYPE { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MENU_ITEM_STATE ( pub u32 ) ; impl MENU_ITEM_STATE { pub const MFS_GRAYED : Self = Self ( 3u32 ) ; pub const MFS_DISABLED : Self = Self ( 3u32 ) ; pub const MFS_CHECKED : Self = Self ( 8u32 ) ; pub const MFS_HILITE : Self = Self ( 128u32 ) ; pub const MFS_ENABLED : Self = Self ( 0u32 ) ; pub const MFS_UNCHECKED : Self = Self ( 0u32 ) ; pub const MFS_UNHILITE : Self = Self ( 0u32 ) ; pub const MFS_DEFAULT : Self = Self ( 4096u32 ) ; } impl :: std :: convert :: From < u32 > for MENU_ITEM_STATE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENU_ITEM_STATE { type Abi = Self ; } impl :: std :: ops :: BitOr for MENU_ITEM_STATE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENU_ITEM_STATE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENU_ITEM_STATE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENU_ITEM_STATE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMINFOA { pub cbSize : u32 , pub fMask : MENU_ITEM_MASK , pub fType : MENU_ITEM_TYPE , pub fState : MENU_ITEM_STATE , pub wID : u32 , pub hSubMenu : super :: MenusAndResources :: HMENU , pub hbmpChecked : super :: Gdi :: HBITMAP , pub hbmpUnchecked : super :: Gdi :: HBITMAP , pub dwItemData : usize , pub dwTypeData : super :: SystemServices :: PSTR , pub cch : u32 , pub hbmpItem : super :: Gdi :: HBITMAP } impl MENUITEMINFOA { } impl :: std :: default :: Default for MENUITEMINFOA { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , fType : :: std :: default :: Default :: default ( ) , fState : :: std :: default :: Default :: default ( ) , wID : 0 , hSubMenu : :: std :: default :: Default :: default ( ) , hbmpChecked : :: std :: default :: Default :: default ( ) , hbmpUnchecked : :: std :: default :: Default :: default ( ) , dwItemData : 0 , dwTypeData : :: std :: default :: Default :: default ( ) , cch : 0 , hbmpItem : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MENUITEMINFOA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMINFOA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "fType" , & format_args ! ( "{:?}" , self . fType ) ) . field ( "fState" , & format_args ! ( "{:?}" , self . fState ) ) . field ( "wID" , & format_args ! ( "{:?}" , self . wID ) ) . field ( "hSubMenu" , & format_args ! ( "{:?}" , self . hSubMenu ) ) . field ( "hbmpChecked" , & format_args ! ( "{:?}" , self . hbmpChecked ) ) . field ( "hbmpUnchecked" , & format_args ! ( "{:?}" , self . hbmpUnchecked ) ) . field ( "dwItemData" , & format_args ! ( "{:?}" , self . dwItemData ) ) . field ( "dwTypeData" , & format_args ! ( "{:?}" , self . dwTypeData ) ) . field ( "cch" , & format_args ! ( "{:?}" , self . cch ) ) . field ( "hbmpItem" , & format_args ! ( "{:?}" , self . hbmpItem ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMINFOA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . fType == other . fType && self . fState == other . fState && self . wID == other . wID && self . hSubMenu == other . hSubMenu && self . hbmpChecked == other . hbmpChecked && self . hbmpUnchecked == other . hbmpUnchecked && self . dwItemData == other . dwItemData && self . dwTypeData == other . dwTypeData && self . cch == other . cch && self . hbmpItem == other . hbmpItem } } impl :: std :: cmp :: Eq for MENUITEMINFOA { } unsafe impl :: windows :: Abi for MENUITEMINFOA { type Abi = Self ; } pub unsafe fn GetMenuItemInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmii : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMINFOW { pub cbSize : u32 , pub fMask : MENU_ITEM_MASK , pub fType : MENU_ITEM_TYPE , pub fState : MENU_ITEM_STATE , pub wID : u32 , pub hSubMenu : super :: MenusAndResources :: HMENU , pub hbmpChecked : super :: Gdi :: HBITMAP , pub hbmpUnchecked : super :: Gdi :: HBITMAP , pub dwItemData : usize , pub dwTypeData : super :: SystemServices :: PWSTR , pub cch : u32 , pub hbmpItem : super :: Gdi :: HBITMAP } impl MENUITEMINFOW { } impl :: std :: default :: Default for MENUITEMINFOW { fn default ( ) -> Self { Self { cbSize : 0 , fMask : :: std :: default :: Default :: default ( ) , fType : :: std :: default :: Default :: default ( ) , fState : :: std :: default :: Default :: default ( ) , wID : 0 , hSubMenu : :: std :: default :: Default :: default ( ) , hbmpChecked : :: std :: default :: Default :: default ( ) , hbmpUnchecked : :: std :: default :: Default :: default ( ) , dwItemData : 0 , dwTypeData : :: std :: default :: Default :: default ( ) , cch : 0 , hbmpItem : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MENUITEMINFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMINFOW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "fMask" , & format_args ! ( "{:?}" , self . fMask ) ) . field ( "fType" , & format_args ! ( "{:?}" , self . fType ) ) . field ( "fState" , & format_args ! ( "{:?}" , self . fState ) ) . field ( "wID" , & format_args ! ( "{:?}" , self . wID ) ) . field ( "hSubMenu" , & format_args ! ( "{:?}" , self . hSubMenu ) ) . field ( "hbmpChecked" , & format_args ! ( "{:?}" , self . hbmpChecked ) ) . field ( "hbmpUnchecked" , & format_args ! ( "{:?}" , self . hbmpUnchecked ) ) . field ( "dwItemData" , & format_args ! ( "{:?}" , self . dwItemData ) ) . field ( "dwTypeData" , & format_args ! ( "{:?}" , self . dwTypeData ) ) . field ( "cch" , & format_args ! ( "{:?}" , self . cch ) ) . field ( "hbmpItem" , & format_args ! ( "{:?}" , self . hbmpItem ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMINFOW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . fMask == other . fMask && self . fType == other . fType && self . fState == other . fState && self . wID == other . wID && self . hSubMenu == other . hSubMenu && self . hbmpChecked == other . hbmpChecked && self . hbmpUnchecked == other . hbmpUnchecked && self . dwItemData == other . dwItemData && self . dwTypeData == other . dwTypeData && self . cch == other . cch && self . hbmpItem == other . hbmpItem } } impl :: std :: cmp :: Eq for MENUITEMINFOW { } unsafe impl :: windows :: Abi for MENUITEMINFOW { type Abi = Self ; } pub unsafe fn GetMenuItemInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmii : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuItemRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , uitem : u32 , lprcitem : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuState < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uid : u32 , uflags : MENU_ITEM_FLAGS , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuStringA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uiditem : u32 , lpstring : super :: SystemServices :: PSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMenuStringW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uiditem : u32 , lpstring : super :: SystemServices :: PWSTR , cchmax : i32 , flags : MENU_ITEM_FLAGS , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageExtraInfo < > ( ) -> LPARAM { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessagePos < > ( ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageTime < > ( ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMessageW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextDlgGroupItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , hctl : T1__ , bprevious : T2__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextDlgTabItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , hctl : T1__ , bprevious : T2__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOpenFileNameA < > ( param0 : * mut OPENFILENAMEA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOpenFileNameW < > ( param0 : * mut OPENFILENAMEW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetParent < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPhysicalCursorPos < > ( lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessDefaultLayout < > ( pdwdefaultlayout : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "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 GetQueueStatus_flags ( pub u32 ) ; impl GetQueueStatus_flags { pub const QS_ALLEVENTS : Self = Self ( 1215u32 ) ; pub const QS_ALLINPUT : Self = Self ( 1279u32 ) ; pub const QS_ALLPOSTMESSAGE : Self = Self ( 256u32 ) ; pub const QS_HOTKEY : Self = Self ( 128u32 ) ; pub const QS_INPUT : Self = Self ( 1031u32 ) ; pub const QS_KEY : Self = Self ( 1u32 ) ; pub const QS_MOUSE : Self = Self ( 6u32 ) ; pub const QS_MOUSEBUTTON : Self = Self ( 4u32 ) ; pub const QS_MOUSEMOVE : Self = Self ( 2u32 ) ; pub const QS_PAINT : Self = Self ( 32u32 ) ; pub const QS_POSTMESSAGE : Self = Self ( 8u32 ) ; pub const QS_RAWINPUT : Self = Self ( 1024u32 ) ; pub const QS_SENDMESSAGE : Self = Self ( 64u32 ) ; pub const QS_TIMER : Self = Self ( 16u32 ) ; } impl :: std :: convert :: From < u32 > for GetQueueStatus_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetQueueStatus_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetQueueStatus_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetQueueStatus_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetQueueStatus_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetQueueStatus_flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetQueueStatus < > ( flags : GetQueueStatus_flags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSaveFileNameA < > ( param0 : * mut OPENFILENAMEA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSaveFileNameW < > ( param0 : * mut OPENFILENAMEW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetShellWindow < > ( ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSubMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , npos : i32 , ) -> super :: MenusAndResources :: HMENU { panic ! ( "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 GetSysColor_nIndexFlags ( pub u32 ) ; impl GetSysColor_nIndexFlags { pub const COLOR_3DDKSHADOW : Self = Self ( 21u32 ) ; pub const COLOR_3DFACE : Self = Self ( 15u32 ) ; pub const COLOR_3DHIGHLIGHT : Self = Self ( 20u32 ) ; pub const COLOR_3DHILIGHT : Self = Self ( 20u32 ) ; pub const COLOR_3DLIGHT : Self = Self ( 22u32 ) ; pub const COLOR_3DSHADOW : Self = Self ( 16u32 ) ; pub const COLOR_ACTIVEBORDER : Self = Self ( 10u32 ) ; pub const COLOR_ACTIVECAPTION : Self = Self ( 2u32 ) ; pub const COLOR_APPWORKSPACE : Self = Self ( 12u32 ) ; pub const COLOR_BACKGROUND : Self = Self ( 1u32 ) ; pub const COLOR_BTNFACE : Self = Self ( 15u32 ) ; pub const _COLOR_BTNHIGHLIGHT : Self = Self ( 20u32 ) ; pub const _COLOR_BTNHILIGHT : Self = Self ( 20u32 ) ; pub const COLOR_BTNSHADOW : Self = Self ( 16u32 ) ; pub const COLOR_BTNTEXT : Self = Self ( 18u32 ) ; pub const COLOR_CAPTIONTEXT : Self = Self ( 9u32 ) ; pub const COLOR_DESKTOP : Self = Self ( 1u32 ) ; pub const COLOR_GRADIENTACTIVECAPTION : Self = Self ( 27u32 ) ; pub const COLOR_GRADIENTINACTIVECAPTION : Self = Self ( 28u32 ) ; pub const COLOR_GRAYTEXT : Self = Self ( 17u32 ) ; pub const COLOR_HIGHLIGHT : Self = Self ( 13u32 ) ; pub const COLOR_HIGHLIGHTTEXT : Self = Self ( 14u32 ) ; pub const COLOR_HOTLIGHT : Self = Self ( 26u32 ) ; pub const COLOR_INACTIVEBORDER : Self = Self ( 11u32 ) ; pub const COLOR_INACTIVECAPTION : Self = Self ( 3u32 ) ; pub const COLOR_INACTIVECAPTIONTEXT : Self = Self ( 19u32 ) ; pub const COLOR_INFOBK : Self = Self ( 24u32 ) ; pub const COLOR_INFOTEXT : Self = Self ( 23u32 ) ; pub const COLOR_MENU : Self = Self ( 4u32 ) ; pub const COLOR_MENUHILIGHT : Self = Self ( 29u32 ) ; pub const COLOR_MENUBAR : Self = Self ( 30u32 ) ; pub const COLOR_MENUTEXT : Self = Self ( 7u32 ) ; pub const COLOR_SCROLLBAR : Self = Self ( 0u32 ) ; pub const COLOR_WINDOW : Self = Self ( 5u32 ) ; pub const COLOR_WINDOWFRAME : Self = Self ( 6u32 ) ; pub const COLOR_WINDOWTEXT : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for GetSysColor_nIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetSysColor_nIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetSysColor_nIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetSysColor_nIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetSysColor_nIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetSysColor_nIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetSysColor < > ( nindex : GetSysColor_nIndexFlags , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , brevert : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "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 GetSystemMetrics_nIndexFlags ( pub u32 ) ; impl GetSystemMetrics_nIndexFlags { pub const SM_ARRANGE : Self = Self ( 56u32 ) ; pub const SM_CLEANBOOT : Self = Self ( 67u32 ) ; pub const SM_CMONITORS : Self = Self ( 80u32 ) ; pub const SM_CMOUSEBUTTONS : Self = Self ( 43u32 ) ; pub const SM_CONVERTIBLESLATEMODE : Self = Self ( 8195u32 ) ; pub const SM_CXBORDER : Self = Self ( 5u32 ) ; pub const SM_CXCURSOR : Self = Self ( 13u32 ) ; pub const SM_CXDLGFRAME : Self = Self ( 7u32 ) ; pub const SM_CXDOUBLECLK : Self = Self ( 36u32 ) ; pub const SM_CXDRAG : Self = Self ( 68u32 ) ; pub const SM_CXEDGE : Self = Self ( 45u32 ) ; pub const SM_CXFIXEDFRAME : Self = Self ( 7u32 ) ; pub const SM_CXFOCUSBORDER : Self = Self ( 83u32 ) ; pub const SM_CXFRAME : Self = Self ( 32u32 ) ; pub const SM_CXFULLSCREEN : Self = Self ( 16u32 ) ; pub const SM_CXHSCROLL : Self = Self ( 21u32 ) ; pub const SM_CXHTHUMB : Self = Self ( 10u32 ) ; pub const SM_CXICON : Self = Self ( 11u32 ) ; pub const SM_CXICONSPACING : Self = Self ( 38u32 ) ; pub const SM_CXMAXIMIZED : Self = Self ( 61u32 ) ; pub const SM_CXMAXTRACK : Self = Self ( 59u32 ) ; pub const SM_CXMENUCHECK : Self = Self ( 71u32 ) ; pub const SM_CXMENUSIZE : Self = Self ( 54u32 ) ; pub const SM_CXMIN : Self = Self ( 28u32 ) ; pub const SM_CXMINIMIZED : Self = Self ( 57u32 ) ; pub const SM_CXMINSPACING : Self = Self ( 47u32 ) ; pub const SM_CXMINTRACK : Self = Self ( 34u32 ) ; pub const SM_CXPADDEDBORDER : Self = Self ( 92u32 ) ; pub const SM_CXSCREEN : Self = Self ( 0u32 ) ; pub const SM_CXSIZE : Self = Self ( 30u32 ) ; pub const SM_CXSIZEFRAME : Self = Self ( 32u32 ) ; pub const SM_CXSMICON : Self = Self ( 49u32 ) ; pub const SM_CXSMSIZE : Self = Self ( 52u32 ) ; pub const SM_CXVIRTUALSCREEN : Self = Self ( 78u32 ) ; pub const SM_CXVSCROLL : Self = Self ( 2u32 ) ; pub const SM_CYBORDER : Self = Self ( 6u32 ) ; pub const SM_CYCAPTION : Self = Self ( 4u32 ) ; pub const SM_CYCURSOR : Self = Self ( 14u32 ) ; pub const SM_CYDLGFRAME : Self = Self ( 8u32 ) ; pub const SM_CYDOUBLECLK : Self = Self ( 37u32 ) ; pub const SM_CYDRAG : Self = Self ( 69u32 ) ; pub const SM_CYEDGE : Self = Self ( 46u32 ) ; pub const SM_CYFIXEDFRAME : Self = Self ( 8u32 ) ; pub const SM_CYFOCUSBORDER : Self = Self ( 84u32 ) ; pub const SM_CYFRAME : Self = Self ( 33u32 ) ; pub const SM_CYFULLSCREEN : Self = Self ( 17u32 ) ; pub const SM_CYHSCROLL : Self = Self ( 3u32 ) ; pub const SM_CYICON : Self = Self ( 12u32 ) ; pub const SM_CYICONSPACING : Self = Self ( 39u32 ) ; pub const SM_CYKANJIWINDOW : Self = Self ( 18u32 ) ; pub const SM_CYMAXIMIZED : Self = Self ( 62u32 ) ; pub const SM_CYMAXTRACK : Self = Self ( 60u32 ) ; pub const SM_CYMENU : Self = Self ( 15u32 ) ; pub const SM_CYMENUCHECK : Self = Self ( 72u32 ) ; pub const SM_CYMENUSIZE : Self = Self ( 55u32 ) ; pub const SM_CYMIN : Self = Self ( 29u32 ) ; pub const SM_CYMINIMIZED : Self = Self ( 58u32 ) ; pub const SM_CYMINSPACING : Self = Self ( 48u32 ) ; pub const SM_CYMINTRACK : Self = Self ( 35u32 ) ; pub const SM_CYSCREEN : Self = Self ( 1u32 ) ; pub const SM_CYSIZE : Self = Self ( 31u32 ) ; pub const SM_CYSIZEFRAME : Self = Self ( 33u32 ) ; pub const SM_CYSMCAPTION : Self = Self ( 51u32 ) ; pub const SM_CYSMICON : Self = Self ( 50u32 ) ; pub const SM_CYSMSIZE : Self = Self ( 53u32 ) ; pub const SM_CYVIRTUALSCREEN : Self = Self ( 79u32 ) ; pub const SM_CYVSCROLL : Self = Self ( 20u32 ) ; pub const SM_CYVTHUMB : Self = Self ( 9u32 ) ; pub const SM_DBCSENABLED : Self = Self ( 42u32 ) ; pub const SM_DEBUG : Self = Self ( 22u32 ) ; pub const SM_DIGITIZER : Self = Self ( 94u32 ) ; pub const SM_IMMENABLED : Self = Self ( 82u32 ) ; pub const SM_MAXIMUMTOUCHES : Self = Self ( 95u32 ) ; pub const SM_MEDIACENTER : Self = Self ( 87u32 ) ; pub const SM_MENUDROPALIGNMENT : Self = Self ( 40u32 ) ; pub const SM_MIDEASTENABLED : Self = Self ( 74u32 ) ; pub const SM_MOUSEPRESENT : Self = Self ( 19u32 ) ; pub const SM_MOUSEHORIZONTALWHEELPRESENT : Self = Self ( 91u32 ) ; pub const SM_MOUSEWHEELPRESENT : Self = Self ( 75u32 ) ; pub const SM_NETWORK : Self = Self ( 63u32 ) ; pub const SM_PENWINDOWS : Self = Self ( 41u32 ) ; pub const SM_REMOTECONTROL : Self = Self ( 8193u32 ) ; pub const SM_REMOTESESSION : Self = Self ( 4096u32 ) ; pub const SM_SAMEDISPLAYFORMAT : Self = Self ( 81u32 ) ; pub const SM_SECURE : Self = Self ( 44u32 ) ; pub const SM_SERVERR2 : Self = Self ( 89u32 ) ; pub const SM_SHOWSOUNDS : Self = Self ( 70u32 ) ; pub const SM_SHUTTINGDOWN : Self = Self ( 8192u32 ) ; pub const SM_SLOWMACHINE : Self = Self ( 73u32 ) ; pub const SM_STARTER : Self = Self ( 88u32 ) ; pub const SM_SWAPBUTTON : Self = Self ( 23u32 ) ; pub const SM_SYSTEMDOCKED_ : Self = Self ( 8196u32 ) ; pub const SM_TABLETPC : Self = Self ( 86u32 ) ; pub const SM_XVIRTUALSCREEN : Self = Self ( 76u32 ) ; pub const SM_YVIRTUALSCREEN : Self = Self ( 77u32 ) ; } impl :: std :: convert :: From < u32 > for GetSystemMetrics_nIndexFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetSystemMetrics_nIndexFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetSystemMetrics_nIndexFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetSystemMetrics_nIndexFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetSystemMetrics_nIndexFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetSystemMetrics_nIndexFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetSystemMetrics < > ( nindex : GetSystemMetrics_nIndexFlags , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TITLEBARINFO { pub cbSize : u32 , pub rcTitleBar : super :: DisplayDevices :: RECT , pub rgstate : [ u32 ;6 ] } impl TITLEBARINFO { } impl :: std :: default :: Default for TITLEBARINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcTitleBar : :: std :: default :: Default :: default ( ) , rgstate : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for TITLEBARINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TITLEBARINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcTitleBar" , & format_args ! ( "{:?}" , self . rcTitleBar ) ) . field ( "rgstate" , & format_args ! ( "{:?}" , self . rgstate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TITLEBARINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcTitleBar == other . rcTitleBar && self . rgstate == other . rgstate } } impl :: std :: cmp :: Eq for TITLEBARINFO { } unsafe impl :: windows :: Abi for TITLEBARINFO { type Abi = Self ; } pub unsafe fn GetTitleBarInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pti : * mut TITLEBARINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTopWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> HWND { panic ! ( "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 GetWindow_uCmdFlags ( pub u32 ) ; impl GetWindow_uCmdFlags { pub const GW_CHILD : Self = Self ( 5u32 ) ; pub const GW_ENABLEDPOPUP : Self = Self ( 6u32 ) ; pub const GW_HWNDFIRST : Self = Self ( 0u32 ) ; pub const GW_HWNDLAST : Self = Self ( 1u32 ) ; pub const GW_HWNDNEXT : Self = Self ( 2u32 ) ; pub const GW_HWNDPREV : Self = Self ( 3u32 ) ; pub const GW_OWNER : Self = Self ( 4u32 ) ; } impl :: std :: convert :: From < u32 > for GetWindow_uCmdFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GetWindow_uCmdFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for GetWindow_uCmdFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GetWindow_uCmdFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GetWindow_uCmdFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GetWindow_uCmdFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ucmd : GetWindow_uCmdFlags , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowDisplayAffinity < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pdwaffinity : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWINFO { pub cbSize : u32 , pub rcWindow : super :: DisplayDevices :: RECT , pub rcClient : super :: DisplayDevices :: RECT , pub dwStyle : u32 , pub dwExStyle : u32 , pub dwWindowStatus : u32 , pub cxWindowBorders : u32 , pub cyWindowBorders : u32 , pub atomWindowType : u16 , pub wCreatorVersion : u16 } impl WINDOWINFO { } impl :: std :: default :: Default for WINDOWINFO { fn default ( ) -> Self { Self { cbSize : 0 , rcWindow : :: std :: default :: Default :: default ( ) , rcClient : :: std :: default :: Default :: default ( ) , dwStyle : 0 , dwExStyle : 0 , dwWindowStatus : 0 , cxWindowBorders : 0 , cyWindowBorders : 0 , atomWindowType : 0 , wCreatorVersion : 0 } } } impl :: std :: fmt :: Debug for WINDOWINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcWindow" , & format_args ! ( "{:?}" , self . rcWindow ) ) . field ( "rcClient" , & format_args ! ( "{:?}" , self . rcClient ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "dwExStyle" , & format_args ! ( "{:?}" , self . dwExStyle ) ) . field ( "dwWindowStatus" , & format_args ! ( "{:?}" , self . dwWindowStatus ) ) . field ( "cxWindowBorders" , & format_args ! ( "{:?}" , self . cxWindowBorders ) ) . field ( "cyWindowBorders" , & format_args ! ( "{:?}" , self . cyWindowBorders ) ) . field ( "atomWindowType" , & format_args ! ( "{:?}" , self . atomWindowType ) ) . field ( "wCreatorVersion" , & format_args ! ( "{:?}" , self . wCreatorVersion ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcWindow == other . rcWindow && self . rcClient == other . rcClient && self . dwStyle == other . dwStyle && self . dwExStyle == other . dwExStyle && self . dwWindowStatus == other . dwWindowStatus && self . cxWindowBorders == other . cxWindowBorders && self . cyWindowBorders == other . cyWindowBorders && self . atomWindowType == other . atomWindowType && self . wCreatorVersion == other . wCreatorVersion } } impl :: std :: cmp :: Eq for WINDOWINFO { } unsafe impl :: windows :: Abi for WINDOWINFO { type Abi = Self ; } pub unsafe fn GetWindowInfo < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pwi : * mut WINDOWINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "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 WINDOW_LONG_PTR_INDEX ( pub i32 ) ; impl WINDOW_LONG_PTR_INDEX { pub const GWL_EXSTYLE : Self = Self ( -20i32 ) ; pub const GWLP_HINSTANCE : Self = Self ( -6i32 ) ; pub const GWLP_HWNDPARENT : Self = Self ( -8i32 ) ; pub const GWLP_ID : Self = Self ( -12i32 ) ; pub const GWL_STYLE : Self = Self ( -16i32 ) ; pub const GWLP_USERDATA : Self = Self ( -21i32 ) ; pub const GWLP_WNDPROC : Self = Self ( -4i32 ) ; pub const GWL_HINSTANCE : Self = Self ( -6i32 ) ; pub const GWL_ID : Self = Self ( -12i32 ) ; pub const GWL_USERDATA : Self = Self ( -21i32 ) ; pub const GWL_WNDPROC : Self = Self ( -4i32 ) ; pub const GWL_HWNDPARENT : Self = Self ( -8i32 ) ; } impl :: std :: convert :: From < i32 > for WINDOW_LONG_PTR_INDEX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOW_LONG_PTR_INDEX { type Abi = Self ; } pub unsafe fn GetWindowLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowModuleFileNameA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pszfilename : super :: SystemServices :: PSTR , cchfilenamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowModuleFileNameW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pszfilename : super :: SystemServices :: PWSTR , cchfilenamemax : u32 , ) -> u32 { panic ! ( "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 WINDOWPLACEMENT_flags ( pub u32 ) ; impl WINDOWPLACEMENT_flags { pub const WPF_ASYNCWINDOWPLACEMENT : Self = Self ( 4u32 ) ; pub const WPF_RESTORETOMAXIMIZED : Self = Self ( 2u32 ) ; pub const WPF_SETMINPOSITION : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for WINDOWPLACEMENT_flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WINDOWPLACEMENT_flags { type Abi = Self ; } impl :: std :: ops :: BitOr for WINDOWPLACEMENT_flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WINDOWPLACEMENT_flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WINDOWPLACEMENT_flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WINDOWPLACEMENT_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 SHOW_WINDOW_CMD ( pub u32 ) ; impl SHOW_WINDOW_CMD { pub const SW_HIDE : Self = Self ( 0u32 ) ; pub const SW_FORCEMINIMIZE : Self = Self ( 11u32 ) ; pub const SW_MAXIMIZE : Self = Self ( 3u32 ) ; pub const SW_MINIMIZE : Self = Self ( 6u32 ) ; pub const SW_RESTORE : Self = Self ( 9u32 ) ; pub const SW_SHOW : Self = Self ( 5u32 ) ; pub const SW_SHOWDEFAULT : Self = Self ( 10u32 ) ; pub const SW_SHOWMAXIMIZED : Self = Self ( 3u32 ) ; pub const SW_SHOWMINIMIZED : Self = Self ( 2u32 ) ; pub const SW_SHOWMINNOACTIVE : Self = Self ( 7u32 ) ; pub const SW_SHOWNA : Self = Self ( 8u32 ) ; pub const SW_SHOWNOACTIVATE : Self = Self ( 4u32 ) ; pub const SW_SHOWNORMAL : Self = Self ( 1u32 ) ; pub const SW_NORMAL : Self = Self ( 1u32 ) ; pub const SW_MAX : Self = Self ( 11u32 ) ; pub const SW_PARENTCLOSING : Self = Self ( 1u32 ) ; pub const SW_OTHERZOOM : Self = Self ( 2u32 ) ; pub const SW_PARENTOPENING : Self = Self ( 3u32 ) ; pub const SW_OTHERUNZOOM : Self = Self ( 4u32 ) ; pub const SW_SCROLLCHILDREN : Self = Self ( 1u32 ) ; pub const SW_ERASE : Self = Self ( 4u32 ) ; pub const SW_INVALIDATE : Self = Self ( 2u32 ) ; pub const SW_SMOOTHSCROLL : Self = Self ( 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 ; } 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 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWPLACEMENT { pub length : u32 , pub flags : WINDOWPLACEMENT_flags , pub showCmd : SHOW_WINDOW_CMD , pub ptMinPosition : super :: DisplayDevices :: POINT , pub ptMaxPosition : super :: DisplayDevices :: POINT , pub rcNormalPosition : super :: DisplayDevices :: RECT } impl WINDOWPLACEMENT { } impl :: std :: default :: Default for WINDOWPLACEMENT { fn default ( ) -> Self { Self { length : 0 , flags : :: std :: default :: Default :: default ( ) , showCmd : :: std :: default :: Default :: default ( ) , ptMinPosition : :: std :: default :: Default :: default ( ) , ptMaxPosition : :: std :: default :: Default :: default ( ) , rcNormalPosition : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOWPLACEMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWPLACEMENT" ) . field ( "length" , & format_args ! ( "{:?}" , self . length ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "showCmd" , & format_args ! ( "{:?}" , self . showCmd ) ) . field ( "ptMinPosition" , & format_args ! ( "{:?}" , self . ptMinPosition ) ) . field ( "ptMaxPosition" , & format_args ! ( "{:?}" , self . ptMaxPosition ) ) . field ( "rcNormalPosition" , & format_args ! ( "{:?}" , self . rcNormalPosition ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWPLACEMENT { fn eq ( & self , other : & Self ) -> bool { self . length == other . length && self . flags == other . flags && self . showCmd == other . showCmd && self . ptMinPosition == other . ptMinPosition && self . ptMaxPosition == other . ptMaxPosition && self . rcNormalPosition == other . rcNormalPosition } } impl :: std :: cmp :: Eq for WINDOWPLACEMENT { } unsafe impl :: windows :: Abi for WINDOWPLACEMENT { type Abi = Self ; } pub unsafe fn GetWindowPlacement < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpwndpl : * mut WINDOWPLACEMENT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpstring : super :: SystemServices :: PSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextLengthA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextLengthW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpstring : super :: SystemServices :: PWSTR , nmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowThreadProcessId < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpdwprocessid : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn GetWindowWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , ) -> u16 { panic ! ( "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 HANDEDNESS ( pub i32 ) ; impl HANDEDNESS { pub const HANDEDNESS_LEFT : Self = Self ( 0i32 ) ; pub const HANDEDNESS_RIGHT : Self = Self ( 1i32 ) ; } impl :: std :: convert :: From < i32 > for HANDEDNESS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HANDEDNESS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HARDWAREHOOKSTRUCT { pub hwnd : HWND , pub message : u32 , pub wParam : WPARAM , pub lParam : LPARAM } impl HARDWAREHOOKSTRUCT { } impl :: std :: default :: Default for HARDWAREHOOKSTRUCT { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , message : 0 , wParam : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HARDWAREHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HARDWAREHOOKSTRUCT" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "message" , & format_args ! ( "{:?}" , self . message ) ) . field ( "wParam" , & format_args ! ( "{:?}" , self . wParam ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HARDWAREHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . message == other . message && self . wParam == other . wParam && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for HARDWAREHOOKSTRUCT { } unsafe impl :: windows :: Abi for HARDWAREHOOKSTRUCT { type Abi = Self ; } pub const HBMMENU_CALLBACK : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( -1i32 as _ ) ; pub const HBMMENU_MBAR_CLOSE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 5i32 as _ ) ; pub const HBMMENU_MBAR_CLOSE_D : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 6i32 as _ ) ; pub const HBMMENU_MBAR_MINIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 3i32 as _ ) ; pub const HBMMENU_MBAR_MINIMIZE_D : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 7i32 as _ ) ; pub const HBMMENU_MBAR_RESTORE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 2i32 as _ ) ; pub const HBMMENU_POPUP_CLOSE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 8i32 as _ ) ; pub const HBMMENU_POPUP_MAXIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 10i32 as _ ) ; pub const HBMMENU_POPUP_MINIMIZE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 11i32 as _ ) ; pub const HBMMENU_POPUP_RESTORE : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 9i32 as _ ) ; pub const HBMMENU_SYSTEM : super :: Gdi :: HBITMAP = super :: Gdi :: HBITMAP ( 1i32 as _ ) ; pub const HCBT_ACTIVATE : u32 = 5u32 ; pub const HCBT_CLICKSKIPPED : u32 = 6u32 ; pub const HCBT_CREATEWND : u32 = 3u32 ; pub const HCBT_DESTROYWND : u32 = 4u32 ; pub const HCBT_KEYSKIPPED : u32 = 7u32 ; pub const HCBT_MINMAX : u32 = 1u32 ; pub const HCBT_MOVESIZE : u32 = 0u32 ; pub const HCBT_QS : u32 = 2u32 ; pub const HCBT_SETFOCUS : u32 = 9u32 ; pub const HCBT_SYSCOMMAND : u32 = 8u32 ; pub const HCF_DEFAULTDESKTOP : u32 = 512u32 ; pub const HCF_LOGONDESKTOP : u32 = 256u32 ; pub const HC_ACTION : u32 = 0u32 ; pub const HC_GETNEXT : u32 = 1u32 ; pub const HC_NOREMOVE : u32 = 3u32 ; pub const HC_SKIP : u32 = 2u32 ; pub const HC_SYSMODALOFF : u32 = 5u32 ; pub const HC_SYSMODALON : u32 = 4u32 ; pub const HELPINFO_MENUITEM : u32 = 2u32 ; pub const HELPINFO_WINDOW : u32 = 1u32 ; pub const HELP_COMMAND : i32 = 258i32 ; pub const HELP_CONTENTS : i32 = 3i32 ; pub const HELP_CONTEXT : i32 = 1i32 ; pub const HELP_CONTEXTMENU : u32 = 10u32 ; pub const HELP_CONTEXTPOPUP : i32 = 8i32 ; pub const HELP_FINDER : u32 = 11u32 ; pub const HELP_FORCEFILE : i32 = 9i32 ; pub const HELP_HELPONHELP : i32 = 4i32 ; pub const HELP_INDEX : i32 = 3i32 ; pub const HELP_KEY : i32 = 257i32 ; pub const HELP_MULTIKEY : i32 = 513i32 ; pub const HELP_PARTIALKEY : i32 = 261i32 ; pub const HELP_QUIT : i32 = 2i32 ; pub const HELP_SETCONTENTS : i32 = 5i32 ; pub const HELP_SETINDEX : i32 = 5i32 ; pub const HELP_SETPOPUP_POS : u32 = 13u32 ; pub const HELP_SETWINPOS : i32 = 515i32 ; pub const HELP_TCARD : u32 = 32768u32 ; pub const HELP_TCARD_DATA : u32 = 16u32 ; pub const HELP_TCARD_OTHER_CALLER : u32 = 17u32 ; pub const HELP_WM_HELP : u32 = 12u32 ; pub const HIDE_WINDOW : u32 = 0u32 ; pub const HKL_NEXT : u32 = 1u32 ; pub const HKL_PREV : u32 = 0u32 ; pub type HOOKPROC = extern "system" fn ( code : i32 , wparam : WPARAM , lparam : LPARAM ) -> super :: SystemServices :: LRESULT ; pub const HSHELL_ACCESSIBILITYSTATE : u32 = 11u32 ; pub const HSHELL_ACTIVATESHELLWINDOW : u32 = 3u32 ; pub const HSHELL_APPCOMMAND : u32 = 12u32 ; pub const HSHELL_ENDTASK : u32 = 10u32 ; pub const HSHELL_GETMINRECT : u32 = 5u32 ; pub const HSHELL_HIGHBIT : u32 = 32768u32 ; pub const HSHELL_LANGUAGE : u32 = 8u32 ; pub const HSHELL_MONITORCHANGED : u32 = 16u32 ; pub const HSHELL_REDRAW : u32 = 6u32 ; pub const HSHELL_SYSMENU : u32 = 9u32 ; pub const HSHELL_TASKMAN : u32 = 7u32 ; pub const HSHELL_WINDOWACTIVATED : u32 = 4u32 ; pub const HSHELL_WINDOWCREATED : u32 = 1u32 ; pub const HSHELL_WINDOWDESTROYED : u32 = 2u32 ; pub const HSHELL_WINDOWREPLACED : u32 = 13u32 ; pub const HSHELL_WINDOWREPLACING : u32 = 14u32 ; pub const HTBORDER : u32 = 18u32 ; pub const HTBOTTOM : u32 = 15u32 ; pub const HTBOTTOMLEFT : u32 = 16u32 ; pub const HTBOTTOMRIGHT : u32 = 17u32 ; pub const HTCAPTION : u32 = 2u32 ; pub const HTCLIENT : u32 = 1u32 ; pub const HTCLOSE : u32 = 20u32 ; pub const HTERROR : i32 = -2i32 ; pub const HTGROWBOX : u32 = 4u32 ; pub const HTHELP : u32 = 21u32 ; pub const HTHSCROLL : u32 = 6u32 ; pub const HTLEFT : u32 = 10u32 ; pub const HTMAXBUTTON : u32 = 9u32 ; pub const HTMENU : u32 = 5u32 ; pub const HTMINBUTTON : u32 = 8u32 ; pub const HTNOWHERE : u32 = 0u32 ; pub const HTOBJECT : u32 = 19u32 ; pub const HTRIGHT : u32 = 11u32 ; pub const HTSYSMENU : u32 = 3u32 ; pub const HTTOP : u32 = 12u32 ; pub const HTTOPLEFT : u32 = 13u32 ; pub const HTTOPRIGHT : u32 = 14u32 ; pub const HTTRANSPARENT : i32 = -1i32 ; pub const HTVSCROLL : u32 = 7u32 ; pub const HWND_BOTTOM : HWND = HWND ( 1i32 as _ ) ; pub const HWND_DESKTOP : HWND = HWND ( 0i32 as _ ) ; pub const HWND_MESSAGE : HWND = HWND ( -3i32 as _ ) ; pub const HWND_NOTOPMOST : HWND = HWND ( -2i32 as _ ) ; pub const HWND_TOP : HWND = HWND ( 0i32 as _ ) ; pub const HWND_TOPMOST : HWND = HWND ( -1i32 as _ ) ; pub unsafe fn HideCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn HiliteMenuItem < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , uidhiliteitem : u32 , uhilite : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONMETRICSA { pub cbSize : u32 , pub iHorzSpacing : i32 , pub iVertSpacing : i32 , pub iTitleWrap : i32 , pub lfFont : super :: Shell :: LOGFONTA } impl ICONMETRICSA { } impl :: std :: default :: Default for ICONMETRICSA { fn default ( ) -> Self { Self { cbSize : 0 , iHorzSpacing : 0 , iVertSpacing : 0 , iTitleWrap : 0 , lfFont : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONMETRICSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONMETRICSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iHorzSpacing" , & format_args ! ( "{:?}" , self . iHorzSpacing ) ) . field ( "iVertSpacing" , & format_args ! ( "{:?}" , self . iVertSpacing ) ) . field ( "iTitleWrap" , & format_args ! ( "{:?}" , self . iTitleWrap ) ) . field ( "lfFont" , & format_args ! ( "{:?}" , self . lfFont ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONMETRICSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iHorzSpacing == other . iHorzSpacing && self . iVertSpacing == other . iVertSpacing && self . iTitleWrap == other . iTitleWrap && self . lfFont == other . lfFont } } impl :: std :: cmp :: Eq for ICONMETRICSA { } unsafe impl :: windows :: Abi for ICONMETRICSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct ICONMETRICSW { pub cbSize : u32 , pub iHorzSpacing : i32 , pub iVertSpacing : i32 , pub iTitleWrap : i32 , pub lfFont : super :: Shell :: LOGFONTW } impl ICONMETRICSW { } impl :: std :: default :: Default for ICONMETRICSW { fn default ( ) -> Self { Self { cbSize : 0 , iHorzSpacing : 0 , iVertSpacing : 0 , iTitleWrap : 0 , lfFont : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ICONMETRICSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ICONMETRICSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iHorzSpacing" , & format_args ! ( "{:?}" , self . iHorzSpacing ) ) . field ( "iVertSpacing" , & format_args ! ( "{:?}" , self . iVertSpacing ) ) . field ( "iTitleWrap" , & format_args ! ( "{:?}" , self . iTitleWrap ) ) . field ( "lfFont" , & format_args ! ( "{:?}" , self . lfFont ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ICONMETRICSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iHorzSpacing == other . iHorzSpacing && self . iVertSpacing == other . iVertSpacing && self . iTitleWrap == other . iTitleWrap && self . lfFont == other . lfFont } } impl :: std :: cmp :: Eq for ICONMETRICSW { } unsafe impl :: windows :: Abi for ICONMETRICSW { type Abi = Self ; } pub const ICON_BIG : u32 = 1u32 ; pub const ICON_SMALL : u32 = 0u32 ; pub const ICON_SMALL2 : u32 = 2u32 ; pub const IDANI_CAPTION : u32 = 3u32 ; pub const IDANI_OPEN : u32 = 1u32 ; pub const IDC_APPSTARTING : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32650i32 as _ ) ; pub const IDC_ARROW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32512i32 as _ ) ; pub const IDC_CROSS : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32515i32 as _ ) ; pub const IDC_HAND : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32649i32 as _ ) ; pub const IDC_HELP : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32651i32 as _ ) ; pub const IDC_IBEAM : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32513i32 as _ ) ; pub const IDC_ICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32641i32 as _ ) ; pub const IDC_NO : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32648i32 as _ ) ; pub const IDC_PERSON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32672i32 as _ ) ; pub const IDC_PIN : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32671i32 as _ ) ; pub const IDC_SIZE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32640i32 as _ ) ; pub const IDC_SIZEALL : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32646i32 as _ ) ; pub const IDC_SIZENESW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32643i32 as _ ) ; pub const IDC_SIZENS : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32645i32 as _ ) ; pub const IDC_SIZENWSE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32642i32 as _ ) ; pub const IDC_SIZEWE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32644i32 as _ ) ; pub const IDC_UPARROW : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32516i32 as _ ) ; pub const IDC_WAIT : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32514i32 as _ ) ; pub const IDHOT_SNAPDESKTOP : i32 = -2i32 ; pub const IDHOT_SNAPWINDOW : i32 = -1i32 ; pub const IDH_CANCEL : u32 = 28444u32 ; pub const IDH_GENERIC_HELP_BUTTON : u32 = 28442u32 ; pub const IDH_HELP : u32 = 28445u32 ; pub const IDH_MISSING_CONTEXT : u32 = 28441u32 ; pub const IDH_NO_HELP : u32 = 28440u32 ; pub const IDH_OK : u32 = 28443u32 ; pub const IDI_APPLICATION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32512u32 as _ ) ; pub const IDI_ASTERISK : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32516u32 as _ ) ; pub const IDI_EXCLAMATION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32515u32 as _ ) ; pub const IDI_HAND : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32513u32 as _ ) ; pub const IDI_QUESTION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32514u32 as _ ) ; pub const IDI_SHIELD : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32518u32 as _ ) ; pub const IDI_WINLOGO : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 32517u32 as _ ) ; pub const IMAGE_ENHMETAFILE : u32 = 3u32 ; pub const INDEXID_CONTAINER : u32 = 0u32 ; pub const INDEXID_OBJECT : u32 = 0u32 ; pub const INPUTLANGCHANGE_BACKWARD : u32 = 4u32 ; pub const INPUTLANGCHANGE_FORWARD : u32 = 2u32 ; pub const INPUTLANGCHANGE_SYSCHARSET : u32 = 1u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrintDialogCallback ( :: windows :: IUnknown ) ; impl IPrintDialogCallback { } unsafe impl :: windows :: Interface for IPrintDialogCallback { type Vtable = IPrintDialogCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1481810627 ,25904 ,4561 , [ 182 ,163 ,0 ,0 ,248 ,117 ,123 ,249 ] , ) ; } impl IPrintDialogCallback { pub unsafe fn InitDone < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SelectionChange < > ( & self , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn HandleMessage < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( & self , hdlg : T0__ , umsg : u32 , wparam : T2__ , lparam : T3__ , presult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , hdlg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( umsg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( presult ) , ) } } impl :: std :: convert :: From < IPrintDialogCallback > for :: windows :: IUnknown { fn from ( value : IPrintDialogCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrintDialogCallback > for :: windows :: IUnknown { fn from ( value : & IPrintDialogCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrintDialogCallback { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IPrintDialogCallback { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPrintDialogCallback_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe 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 :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdlg : HWND , umsg : u32 , wparam : WPARAM , lparam : LPARAM , presult : * mut super :: SystemServices :: LRESULT , ) -> :: windows :: ErrorCode , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrintDialogServices ( :: windows :: IUnknown ) ; impl IPrintDialogServices { } unsafe impl :: windows :: Interface for IPrintDialogServices { type Vtable = IPrintDialogServices_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1352314586 ,22073 ,4561 , [ 182 ,161 ,0 ,0 ,248 ,117 ,123 ,249 ] , ) ; } impl IPrintDialogServices { pub unsafe fn GetCurrentPrinterName < > ( & self , pprintername : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprintername ) , :: std :: mem :: transmute ( pcchsize ) , ) } pub unsafe fn GetCurrentPortName < > ( & self , pportname : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pportname ) , :: std :: mem :: transmute ( pcchsize ) , ) } } impl :: std :: convert :: From < IPrintDialogServices > for :: windows :: IUnknown { fn from ( value : IPrintDialogServices ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrintDialogServices > for :: windows :: IUnknown { fn from ( value : & IPrintDialogServices ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrintDialogServices { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IPrintDialogServices { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPrintDialogServices_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprintername : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pportname : super :: SystemServices :: PWSTR , pcchsize : * mut u32 , ) -> :: windows :: ErrorCode , ) ; pub const ISMEX_CALLBACK : u32 = 4u32 ; pub const ISMEX_NOSEND : u32 = 0u32 ; pub const ISMEX_NOTIFY : u32 = 2u32 ; pub const ISMEX_REPLIED : u32 = 8u32 ; pub const ISMEX_SEND : u32 = 1u32 ; pub const ISOLATIONAWARE_MANIFEST_RESOURCE_ID : u32 = 2u32 ; pub const ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID : u32 = 3u32 ; pub const ISOLATIONPOLICY_BROWSER_MANIFEST_RESOURCE_ID : u32 = 5u32 ; pub const ISOLATIONPOLICY_MANIFEST_RESOURCE_ID : u32 = 4u32 ; pub unsafe fn InSendMessage < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InSendMessageEx < > ( lpreserved : * mut :: std :: ffi :: c_void , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IndexFilePath < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( resourceindexer : * mut :: std :: ffi :: c_void , filepath : T1__ , ppresourceuri : * mut super :: SystemServices :: PWSTR , pqualifiercount : * mut u32 , ppqualifiers : * mut * mut IndexedResourceQualifier , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InheritWindowMonitor < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , hwndinherit : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuItemA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmi : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuItemW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbyposition : T2__ , lpmi : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InsertMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn InternalGetWindowText < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pstring : super :: SystemServices :: PWSTR , cchmaxcount : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaNumericA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaNumericW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharAlphaW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharLowerA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharUpperA < > ( ch : i8 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsCharUpperW < > ( ch : u16 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsChild < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , hwnd : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsDialogMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsDialogMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsGUIThread < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( bconvert : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsHungAppWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsIconic < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsProcessDPIAware < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindowUnicode < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWindowVisible < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn IsZoomed < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct KBDLLHOOKSTRUCT { pub vkCode : u32 , pub scanCode : u32 , pub flags : u32 , pub time : u32 , pub dwExtraInfo : usize } impl KBDLLHOOKSTRUCT { } impl :: std :: default :: Default for KBDLLHOOKSTRUCT { fn default ( ) -> Self { Self { vkCode : 0 , scanCode : 0 , flags : 0 , time : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for KBDLLHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KBDLLHOOKSTRUCT" ) . field ( "vkCode" , & format_args ! ( "{:?}" , self . vkCode ) ) . field ( "scanCode" , & format_args ! ( "{:?}" , self . scanCode ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KBDLLHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . vkCode == other . vkCode && self . scanCode == other . scanCode && self . flags == other . flags && self . time == other . time && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for KBDLLHOOKSTRUCT { } unsafe impl :: windows :: Abi for KBDLLHOOKSTRUCT { type Abi = Self ; } pub const KF_ALTDOWN : u32 = 8192u32 ; pub const KF_DLGMODE : u32 = 2048u32 ; pub const KF_EXTENDED : u32 = 256u32 ; pub const KF_MENUMODE : u32 = 4096u32 ; pub const KF_REPEAT : u32 = 16384u32 ; pub const KF_UP : u32 = 32768u32 ; pub const KL_NAMELENGTH : u32 = 9u32 ; pub unsafe fn KillTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , uidevent : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const LBN_DBLCLK : u32 = 2u32 ; pub const LBN_ERRSPACE : i32 = -2i32 ; pub const LBN_KILLFOCUS : u32 = 5u32 ; pub const LBN_SELCANCEL : u32 = 3u32 ; pub const LBN_SELCHANGE : u32 = 1u32 ; pub const LBN_SETFOCUS : u32 = 4u32 ; pub const LB_ADDFILE : u32 = 406u32 ; pub const LB_ADDSTRING : u32 = 384u32 ; pub const LB_CTLCODE : i32 = 0i32 ; pub const LB_DELETESTRING : u32 = 386u32 ; pub const LB_DIR : u32 = 397u32 ; pub const LB_ERR : i32 = -1i32 ; pub const LB_ERRSPACE : i32 = -2i32 ; pub const LB_FINDSTRING : u32 = 399u32 ; pub const LB_FINDSTRINGEXACT : u32 = 418u32 ; pub const LB_GETANCHORINDEX : u32 = 413u32 ; pub const LB_GETCARETINDEX : u32 = 415u32 ; pub const LB_GETCOUNT : u32 = 395u32 ; pub const LB_GETCURSEL : u32 = 392u32 ; pub const LB_GETHORIZONTALEXTENT : u32 = 403u32 ; pub const LB_GETITEMDATA : u32 = 409u32 ; pub const LB_GETITEMHEIGHT : u32 = 417u32 ; pub const LB_GETITEMRECT : u32 = 408u32 ; pub const LB_GETLISTBOXINFO : u32 = 434u32 ; pub const LB_GETLOCALE : u32 = 422u32 ; pub const LB_GETSEL : u32 = 391u32 ; pub const LB_GETSELCOUNT : u32 = 400u32 ; pub const LB_GETSELITEMS : u32 = 401u32 ; pub const LB_GETTEXT : u32 = 393u32 ; pub const LB_GETTEXTLEN : u32 = 394u32 ; pub const LB_GETTOPINDEX : u32 = 398u32 ; pub const LB_INITSTORAGE : u32 = 424u32 ; pub const LB_INSERTSTRING : u32 = 385u32 ; pub const LB_ITEMFROMPOINT : u32 = 425u32 ; pub const LB_MSGMAX : u32 = 435u32 ; pub const LB_MULTIPLEADDSTRING : u32 = 433u32 ; pub const LB_OKAY : u32 = 0u32 ; pub const LB_RESETCONTENT : u32 = 388u32 ; pub const LB_SELECTSTRING : u32 = 396u32 ; pub const LB_SELITEMRANGE : u32 = 411u32 ; pub const LB_SELITEMRANGEEX : u32 = 387u32 ; pub const LB_SETANCHORINDEX : u32 = 412u32 ; pub const LB_SETCARETINDEX : u32 = 414u32 ; pub const LB_SETCOLUMNWIDTH : u32 = 405u32 ; pub const LB_SETCOUNT : u32 = 423u32 ; pub const LB_SETCURSEL : u32 = 390u32 ; pub const LB_SETHORIZONTALEXTENT : u32 = 404u32 ; pub const LB_SETITEMDATA : u32 = 410u32 ; pub const LB_SETITEMHEIGHT : u32 = 416u32 ; pub const LB_SETLOCALE : u32 = 421u32 ; pub const LB_SETSEL : u32 = 389u32 ; pub const LB_SETTABSTOPS : u32 = 402u32 ; pub const LB_SETTOPINDEX : u32 = 407u32 ; pub const LLKHF_INJECTED : u32 = 16u32 ; pub const LLKHF_LOWER_IL_INJECTED : u32 = 2u32 ; pub const LLMHF_INJECTED : u32 = 1u32 ; pub const LLMHF_LOWER_IL_INJECTED : u32 = 2u32 ; pub type LPPAGEPAINTHOOK = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPPAGESETUPHOOK = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPPRINTHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub type LPSETUPHOOKPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : WPARAM , param3 : LPARAM ) -> usize ; pub const LR_COLOR : u32 = 2u32 ; pub unsafe fn LoadAcceleratorsA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lptablename : T1__ , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadAcceleratorsW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lptablename : T1__ , ) -> super :: MenusAndResources :: HACCEL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpcursorname : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorFromFileA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpfilename : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorFromFileW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpfilename : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadCursorW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpcursorname : T1__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadIconA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpiconname : T1__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadIconW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpiconname : T1__ , ) -> super :: MenusAndResources :: HICON { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadImageA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinst : T0__ , name : T1__ , r#type : CopyImage_type , cx : i32 , cy : i32 , fuload : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadImageW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinst : T0__ , name : T1__ , r#type : CopyImage_type , cx : i32 , cy : i32 , fuload : super :: Controls :: ImageListLoadImage_uFlags , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hinstance : T0__ , lpmenuname : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuIndirectA < > ( lpmenutemplate : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuIndirectW < > ( lpmenutemplate : * const :: std :: ffi :: c_void , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hinstance : T0__ , lpmenuname : T1__ , ) -> super :: MenusAndResources :: HMENU { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadResource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HRSRC > , > ( hmodule : isize , hresinfo : T1__ , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadStringA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , uid : u32 , lpbuffer : super :: SystemServices :: PSTR , cchbuffermax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LoadStringW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( hinstance : T0__ , uid : u32 , lpbuffer : super :: SystemServices :: PWSTR , cchbuffermax : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LockResource < > ( hresdata : isize , ) -> * mut :: std :: ffi :: c_void { panic ! ( "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 LockSetForegroundWindow_uLockCodeFlags ( pub u32 ) ; impl LockSetForegroundWindow_uLockCodeFlags { pub const LSFW_LOCK : Self = Self ( 1u32 ) ; pub const LSFW_UNLOCK : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for LockSetForegroundWindow_uLockCodeFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LockSetForegroundWindow_uLockCodeFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for LockSetForegroundWindow_uLockCodeFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LockSetForegroundWindow_uLockCodeFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LockSetForegroundWindow_uLockCodeFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LockSetForegroundWindow_uLockCodeFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn LockSetForegroundWindow < > ( ulockcode : LockSetForegroundWindow_uLockCodeFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LogicalToPhysicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LookupIconIdFromDirectory < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , ficon : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn LookupIconIdFromDirectoryEx < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( presbits : * mut u8 , ficon : T1__ , cxdesired : i32 , cydesired : i32 , flags : super :: Controls :: ImageListLoadImage_uFlags , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub const MAPVK_VK_TO_CHAR : u32 = 2u32 ; pub const MAPVK_VK_TO_VSC : u32 = 0u32 ; pub const MAPVK_VK_TO_VSC_EX : u32 = 4u32 ; pub const MAPVK_VSC_TO_VK : u32 = 1u32 ; pub const MAPVK_VSC_TO_VK_EX : u32 = 3u32 ; pub const MAXIMUM_RESERVED_MANIFEST_RESOURCE_ID : u32 = 16u32 ; pub const MAX_LOGICALDPIOVERRIDE : u32 = 2u32 ; pub const MAX_STR_BLOCKREASON : u32 = 256u32 ; pub const MAX_TOUCH_COUNT : u32 = 256u32 ; pub const MAX_TOUCH_PREDICTION_FILTER_TAPS : u32 = 3u32 ; pub const MA_ACTIVATE : u32 = 1u32 ; pub const MA_ACTIVATEANDEAT : u32 = 2u32 ; pub const MA_NOACTIVATE : u32 = 3u32 ; pub const MA_NOACTIVATEANDEAT : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDICREATESTRUCTA { pub szClass : super :: SystemServices :: PSTR , pub szTitle : super :: SystemServices :: PSTR , pub hOwner : super :: SystemServices :: HANDLE , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub style : WINDOW_STYLE , pub lParam : LPARAM } impl MDICREATESTRUCTA { } impl :: std :: default :: Default for MDICREATESTRUCTA { fn default ( ) -> Self { Self { szClass : :: std :: default :: Default :: default ( ) , szTitle : :: std :: default :: Default :: default ( ) , hOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , style : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDICREATESTRUCTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDICREATESTRUCTA" ) . field ( "szClass" , & format_args ! ( "{:?}" , self . szClass ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "hOwner" , & format_args ! ( "{:?}" , self . hOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDICREATESTRUCTA { fn eq ( & self , other : & Self ) -> bool { self . szClass == other . szClass && self . szTitle == other . szTitle && self . hOwner == other . hOwner && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . style == other . style && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for MDICREATESTRUCTA { } unsafe impl :: windows :: Abi for MDICREATESTRUCTA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDICREATESTRUCTW { pub szClass : super :: SystemServices :: PWSTR , pub szTitle : super :: SystemServices :: PWSTR , pub hOwner : super :: SystemServices :: HANDLE , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub style : WINDOW_STYLE , pub lParam : LPARAM } impl MDICREATESTRUCTW { } impl :: std :: default :: Default for MDICREATESTRUCTW { fn default ( ) -> Self { Self { szClass : :: std :: default :: Default :: default ( ) , szTitle : :: std :: default :: Default :: default ( ) , hOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , style : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDICREATESTRUCTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDICREATESTRUCTW" ) . field ( "szClass" , & format_args ! ( "{:?}" , self . szClass ) ) . field ( "szTitle" , & format_args ! ( "{:?}" , self . szTitle ) ) . field ( "hOwner" , & format_args ! ( "{:?}" , self . hOwner ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "style" , & format_args ! ( "{:?}" , self . style ) ) . field ( "lParam" , & format_args ! ( "{:?}" , self . lParam ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDICREATESTRUCTW { fn eq ( & self , other : & Self ) -> bool { self . szClass == other . szClass && self . szTitle == other . szTitle && self . hOwner == other . hOwner && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . style == other . style && self . lParam == other . lParam } } impl :: std :: cmp :: Eq for MDICREATESTRUCTW { } unsafe impl :: windows :: Abi for MDICREATESTRUCTW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MDINEXTMENU { pub hmenuIn : super :: MenusAndResources :: HMENU , pub hmenuNext : super :: MenusAndResources :: HMENU , pub hwndNext : HWND } impl MDINEXTMENU { } impl :: std :: default :: Default for MDINEXTMENU { fn default ( ) -> Self { Self { hmenuIn : :: std :: default :: Default :: default ( ) , hmenuNext : :: std :: default :: Default :: default ( ) , hwndNext : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MDINEXTMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MDINEXTMENU" ) . field ( "hmenuIn" , & format_args ! ( "{:?}" , self . hmenuIn ) ) . field ( "hmenuNext" , & format_args ! ( "{:?}" , self . hmenuNext ) ) . field ( "hwndNext" , & format_args ! ( "{:?}" , self . hwndNext ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MDINEXTMENU { fn eq ( & self , other : & Self ) -> bool { self . hmenuIn == other . hmenuIn && self . hmenuNext == other . hmenuNext && self . hwndNext == other . hwndNext } } impl :: std :: cmp :: Eq for MDINEXTMENU { } unsafe impl :: windows :: Abi for MDINEXTMENU { type Abi = Self ; } pub const MDIS_ALLCHILDSTYLES : 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 MENUGETOBJECTINFO_dwFlags ( pub u32 ) ; impl MENUGETOBJECTINFO_dwFlags { pub const MNGOF_BOTTOMGAP : Self = Self ( 2u32 ) ; pub const MNGOF_TOPGAP : Self = Self ( 1u32 ) ; } impl :: std :: convert :: From < u32 > for MENUGETOBJECTINFO_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MENUGETOBJECTINFO_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for MENUGETOBJECTINFO_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MENUGETOBJECTINFO_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MENUGETOBJECTINFO_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MENUGETOBJECTINFO_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUGETOBJECTINFO { pub dwFlags : MENUGETOBJECTINFO_dwFlags , pub uPos : u32 , pub hmenu : super :: MenusAndResources :: HMENU , pub riid : * mut :: std :: ffi :: c_void , pub pvObj : * mut :: std :: ffi :: c_void } impl MENUGETOBJECTINFO { } impl :: std :: default :: Default for MENUGETOBJECTINFO { fn default ( ) -> Self { Self { dwFlags : :: std :: default :: Default :: default ( ) , uPos : 0 , hmenu : :: std :: default :: Default :: default ( ) , riid : :: std :: ptr :: null_mut ( ) , pvObj : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for MENUGETOBJECTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUGETOBJECTINFO" ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "uPos" , & format_args ! ( "{:?}" , self . uPos ) ) . field ( "hmenu" , & format_args ! ( "{:?}" , self . hmenu ) ) . field ( "riid" , & format_args ! ( "{:?}" , self . riid ) ) . field ( "pvObj" , & format_args ! ( "{:?}" , self . pvObj ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUGETOBJECTINFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . uPos == other . uPos && self . hmenu == other . hmenu && self . riid == other . riid && self . pvObj == other . pvObj } } impl :: std :: cmp :: Eq for MENUGETOBJECTINFO { } unsafe impl :: windows :: Abi for MENUGETOBJECTINFO { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMTEMPLATE { pub mtOption : u16 , pub mtID : u16 , pub mtString : [ u16 ;1 ] } impl MENUITEMTEMPLATE { } impl :: std :: default :: Default for MENUITEMTEMPLATE { fn default ( ) -> Self { Self { mtOption : 0 , mtID : 0 , mtString : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for MENUITEMTEMPLATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMTEMPLATE" ) . field ( "mtOption" , & format_args ! ( "{:?}" , self . mtOption ) ) . field ( "mtID" , & format_args ! ( "{:?}" , self . mtID ) ) . field ( "mtString" , & format_args ! ( "{:?}" , self . mtString ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMTEMPLATE { fn eq ( & self , other : & Self ) -> bool { self . mtOption == other . mtOption && self . mtID == other . mtID && self . mtString == other . mtString } } impl :: std :: cmp :: Eq for MENUITEMTEMPLATE { } unsafe impl :: windows :: Abi for MENUITEMTEMPLATE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MENUITEMTEMPLATEHEADER { pub versionNumber : u16 , pub offset : u16 } impl MENUITEMTEMPLATEHEADER { } impl :: std :: default :: Default for MENUITEMTEMPLATEHEADER { fn default ( ) -> Self { Self { versionNumber : 0 , offset : 0 } } } impl :: std :: fmt :: Debug for MENUITEMTEMPLATEHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENUITEMTEMPLATEHEADER" ) . field ( "versionNumber" , & format_args ! ( "{:?}" , self . versionNumber ) ) . field ( "offset" , & format_args ! ( "{:?}" , self . offset ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENUITEMTEMPLATEHEADER { fn eq ( & self , other : & Self ) -> bool { self . versionNumber == other . versionNumber && self . offset == other . offset } } impl :: std :: cmp :: Eq for MENUITEMTEMPLATEHEADER { } unsafe impl :: windows :: Abi for MENUITEMTEMPLATEHEADER { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MESSAGEBOX_RESULT ( pub i32 ) ; impl MESSAGEBOX_RESULT { pub const IDOK : Self = Self ( 1i32 ) ; pub const IDCANCEL : Self = Self ( 2i32 ) ; pub const IDABORT : Self = Self ( 3i32 ) ; pub const IDRETRY : Self = Self ( 4i32 ) ; pub const IDIGNORE : Self = Self ( 5i32 ) ; pub const IDYES : Self = Self ( 6i32 ) ; pub const IDNO : Self = Self ( 7i32 ) ; pub const IDCLOSE : Self = Self ( 8i32 ) ; pub const IDHELP : Self = Self ( 9i32 ) ; pub const IDTRYAGAIN : Self = Self ( 10i32 ) ; pub const IDCONTINUE : Self = Self ( 11i32 ) ; pub const IDASYNC : Self = Self ( 32001i32 ) ; pub const IDTIMEOUT : Self = Self ( 32000i32 ) ; } impl :: std :: convert :: From < i32 > for MESSAGEBOX_RESULT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MESSAGEBOX_RESULT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MESSAGEBOX_STYLE ( pub u32 ) ; impl MESSAGEBOX_STYLE { pub const MB_OK : Self = Self ( 0u32 ) ; pub const MB_ABORTRETRYIGNORE : Self = Self ( 2u32 ) ; pub const MB_CANCELTRYCONTINUE : Self = Self ( 6u32 ) ; pub const MB_HELP : Self = Self ( 16384u32 ) ; pub const MB_OKCANCEL : Self = Self ( 1u32 ) ; pub const MB_RETRYCANCEL : Self = Self ( 5u32 ) ; pub const MB_YESNO : Self = Self ( 4u32 ) ; pub const MB_YESNOCANCEL : Self = Self ( 3u32 ) ; pub const MB_ICONHAND : Self = Self ( 16u32 ) ; pub const MB_ICONQUESTION : Self = Self ( 32u32 ) ; pub const MB_ICONEXCLAMATION : Self = Self ( 48u32 ) ; pub const MB_ICONASTERISK : Self = Self ( 64u32 ) ; pub const MB_USERICON : Self = Self ( 128u32 ) ; pub const MB_ICONWARNING : Self = Self ( 48u32 ) ; pub const MB_ICONERROR : Self = Self ( 16u32 ) ; pub const MB_ICONINFORMATION : Self = Self ( 64u32 ) ; pub const MB_ICONSTOP : Self = Self ( 16u32 ) ; pub const MB_DEFBUTTON1 : Self = Self ( 0u32 ) ; pub const MB_DEFBUTTON2 : Self = Self ( 256u32 ) ; pub const MB_DEFBUTTON3 : Self = Self ( 512u32 ) ; pub const MB_DEFBUTTON4 : Self = Self ( 768u32 ) ; pub const MB_APPLMODAL : Self = Self ( 0u32 ) ; pub const MB_SYSTEMMODAL : Self = Self ( 4096u32 ) ; pub const MB_TASKMODAL : Self = Self ( 8192u32 ) ; pub const MB_NOFOCUS : Self = Self ( 32768u32 ) ; pub const MB_SETFOREGROUND : Self = Self ( 65536u32 ) ; pub const MB_DEFAULT_DESKTOP_ONLY : Self = Self ( 131072u32 ) ; pub const MB_TOPMOST : Self = Self ( 262144u32 ) ; pub const MB_RIGHT : Self = Self ( 524288u32 ) ; pub const MB_RTLREADING : Self = Self ( 1048576u32 ) ; pub const MB_SERVICE_NOTIFICATION : Self = Self ( 2097152u32 ) ; pub const MB_SERVICE_NOTIFICATION_NT3X : Self = Self ( 262144u32 ) ; pub const MB_TYPEMASK : Self = Self ( 15u32 ) ; pub const MB_ICONMASK : Self = Self ( 240u32 ) ; pub const MB_DEFMASK : Self = Self ( 3840u32 ) ; pub const MB_MODEMASK : Self = Self ( 12288u32 ) ; pub const MB_MISCMASK : Self = Self ( 49152u32 ) ; } impl :: std :: convert :: From < u32 > for MESSAGEBOX_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MESSAGEBOX_STYLE { type Abi = Self ; } impl :: std :: ops :: BitOr for MESSAGEBOX_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MESSAGEBOX_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MESSAGEBOX_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MESSAGEBOX_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_BLOCK { pub LowId : u32 , pub HighId : u32 , pub OffsetToEntries : u32 } impl MESSAGE_RESOURCE_BLOCK { } impl :: std :: default :: Default for MESSAGE_RESOURCE_BLOCK { fn default ( ) -> Self { Self { LowId : 0 , HighId : 0 , OffsetToEntries : 0 } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_BLOCK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_BLOCK" ) . field ( "LowId" , & format_args ! ( "{:?}" , self . LowId ) ) . field ( "HighId" , & format_args ! ( "{:?}" , self . HighId ) ) . field ( "OffsetToEntries" , & format_args ! ( "{:?}" , self . OffsetToEntries ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_BLOCK { fn eq ( & self , other : & Self ) -> bool { self . LowId == other . LowId && self . HighId == other . HighId && self . OffsetToEntries == other . OffsetToEntries } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_BLOCK { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_BLOCK { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_DATA { pub NumberOfBlocks : u32 , pub Blocks : [ MESSAGE_RESOURCE_BLOCK ;1 ] } impl MESSAGE_RESOURCE_DATA { } impl :: std :: default :: Default for MESSAGE_RESOURCE_DATA { fn default ( ) -> Self { Self { NumberOfBlocks : 0 , Blocks : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_DATA" ) . field ( "NumberOfBlocks" , & format_args ! ( "{:?}" , self . NumberOfBlocks ) ) . field ( "Blocks" , & format_args ! ( "{:?}" , self . Blocks ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_DATA { fn eq ( & self , other : & Self ) -> bool { self . NumberOfBlocks == other . NumberOfBlocks && self . Blocks == other . Blocks } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_DATA { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_DATA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MESSAGE_RESOURCE_ENTRY { pub Length : u16 , pub Flags : u16 , pub Text : [ u8 ;1 ] } impl MESSAGE_RESOURCE_ENTRY { } impl :: std :: default :: Default for MESSAGE_RESOURCE_ENTRY { fn default ( ) -> Self { Self { Length : 0 , Flags : 0 , Text : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for MESSAGE_RESOURCE_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MESSAGE_RESOURCE_ENTRY" ) . field ( "Length" , & format_args ! ( "{:?}" , self . Length ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Text" , & format_args ! ( "{:?}" , self . Text ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MESSAGE_RESOURCE_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Flags == other . Flags && self . Text == other . Text } } impl :: std :: cmp :: Eq for MESSAGE_RESOURCE_ENTRY { } unsafe impl :: windows :: Abi for MESSAGE_RESOURCE_ENTRY { type Abi = Self ; } pub const METRICS_USEDEFAULT : 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 MINIMIZEDMETRICS_iArrangeFlags ( pub i32 ) ; impl MINIMIZEDMETRICS_iArrangeFlags { pub const ARW_BOTTOMLEFT : Self = Self ( 0i32 ) ; pub const ARW_BOTTOMRIGHT : Self = Self ( 1i32 ) ; pub const ARW_TOPLEFT : Self = Self ( 2i32 ) ; pub const ARW_TOPRIGHT : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for MINIMIZEDMETRICS_iArrangeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MINIMIZEDMETRICS_iArrangeFlags { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MINIMIZEDMETRICS { pub cbSize : u32 , pub iWidth : i32 , pub iHorzGap : i32 , pub iVertGap : i32 , pub iArrange : MINIMIZEDMETRICS_iArrangeFlags } impl MINIMIZEDMETRICS { } impl :: std :: default :: Default for MINIMIZEDMETRICS { fn default ( ) -> Self { Self { cbSize : 0 , iWidth : 0 , iHorzGap : 0 , iVertGap : 0 , iArrange : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MINIMIZEDMETRICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MINIMIZEDMETRICS" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iWidth" , & format_args ! ( "{:?}" , self . iWidth ) ) . field ( "iHorzGap" , & format_args ! ( "{:?}" , self . iHorzGap ) ) . field ( "iVertGap" , & format_args ! ( "{:?}" , self . iVertGap ) ) . field ( "iArrange" , & format_args ! ( "{:?}" , self . iArrange ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MINIMIZEDMETRICS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iWidth == other . iWidth && self . iHorzGap == other . iHorzGap && self . iVertGap == other . iVertGap && self . iArrange == other . iArrange } } impl :: std :: cmp :: Eq for MINIMIZEDMETRICS { } unsafe impl :: windows :: Abi for MINIMIZEDMETRICS { type Abi = Self ; } pub const MINIMUM_RESERVED_MANIFEST_RESOURCE_ID : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MINMAXINFO { pub ptReserved : super :: DisplayDevices :: POINT , pub ptMaxSize : super :: DisplayDevices :: POINT , pub ptMaxPosition : super :: DisplayDevices :: POINT , pub ptMinTrackSize : super :: DisplayDevices :: POINT , pub ptMaxTrackSize : super :: DisplayDevices :: POINT } impl MINMAXINFO { } impl :: std :: default :: Default for MINMAXINFO { fn default ( ) -> Self { Self { ptReserved : :: std :: default :: Default :: default ( ) , ptMaxSize : :: std :: default :: Default :: default ( ) , ptMaxPosition : :: std :: default :: Default :: default ( ) , ptMinTrackSize : :: std :: default :: Default :: default ( ) , ptMaxTrackSize : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MINMAXINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MINMAXINFO" ) . field ( "ptReserved" , & format_args ! ( "{:?}" , self . ptReserved ) ) . field ( "ptMaxSize" , & format_args ! ( "{:?}" , self . ptMaxSize ) ) . field ( "ptMaxPosition" , & format_args ! ( "{:?}" , self . ptMaxPosition ) ) . field ( "ptMinTrackSize" , & format_args ! ( "{:?}" , self . ptMinTrackSize ) ) . field ( "ptMaxTrackSize" , & format_args ! ( "{:?}" , self . ptMaxTrackSize ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MINMAXINFO { fn eq ( & self , other : & Self ) -> bool { self . ptReserved == other . ptReserved && self . ptMaxSize == other . ptMaxSize && self . ptMaxPosition == other . ptMaxPosition && self . ptMinTrackSize == other . ptMinTrackSize && self . ptMaxTrackSize == other . ptMaxTrackSize } } impl :: std :: cmp :: Eq for MINMAXINFO { } unsafe impl :: windows :: Abi for MINMAXINFO { type Abi = Self ; } pub const MIN_LOGICALDPIOVERRIDE : i32 = -2i32 ; pub const MKF_AVAILABLE : u32 = 2u32 ; pub const MKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const MKF_HOTKEYACTIVE : u32 = 4u32 ; pub const MKF_HOTKEYSOUND : u32 = 16u32 ; pub const MKF_INDICATOR : u32 = 32u32 ; pub const MKF_LEFTBUTTONDOWN : u32 = 16777216u32 ; pub const MKF_LEFTBUTTONSEL : u32 = 268435456u32 ; pub const MKF_MODIFIERS : u32 = 64u32 ; pub const MKF_MOUSEKEYSON : u32 = 1u32 ; pub const MKF_MOUSEMODE : u32 = 2147483648u32 ; pub const MKF_REPLACENUMBERS : u32 = 128u32 ; pub const MKF_RIGHTBUTTONDOWN : u32 = 33554432u32 ; pub const MKF_RIGHTBUTTONSEL : u32 = 536870912u32 ; pub const MK_CONTROL : u32 = 8u32 ; pub const MK_LBUTTON : u32 = 1u32 ; pub const MK_MBUTTON : u32 = 16u32 ; pub const MK_RBUTTON : u32 = 2u32 ; pub const MK_SHIFT : u32 = 4u32 ; pub const MK_XBUTTON1 : u32 = 32u32 ; pub const MK_XBUTTON2 : u32 = 64u32 ; pub const MNC_CLOSE : u32 = 1u32 ; pub const MNC_EXECUTE : u32 = 2u32 ; pub const MNC_IGNORE : u32 = 0u32 ; pub const MNC_SELECT : u32 = 3u32 ; pub const MND_CONTINUE : u32 = 0u32 ; pub const MND_ENDMENU : u32 = 1u32 ; pub const MNGO_NOERROR : u32 = 1u32 ; pub const MNGO_NOINTERFACE : u32 = 0u32 ; pub const MN_GETHMENU : u32 = 481u32 ; pub const MONITORINFOF_PRIMARY : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MOUSEHOOKSTRUCT { pub pt : super :: DisplayDevices :: POINT , pub hwnd : HWND , pub wHitTestCode : u32 , pub dwExtraInfo : usize } impl MOUSEHOOKSTRUCT { } impl :: std :: default :: Default for MOUSEHOOKSTRUCT { fn default ( ) -> Self { Self { pt : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) , wHitTestCode : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for MOUSEHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSEHOOKSTRUCT" ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "wHitTestCode" , & format_args ! ( "{:?}" , self . wHitTestCode ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSEHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . pt == other . pt && self . hwnd == other . hwnd && self . wHitTestCode == other . wHitTestCode && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for MOUSEHOOKSTRUCT { } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCT { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MOUSEHOOKSTRUCTEX_mouseData ( pub u32 ) ; impl MOUSEHOOKSTRUCTEX_mouseData { pub const XBUTTON1 : Self = Self ( 1u32 ) ; pub const XBUTTON2 : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for MOUSEHOOKSTRUCTEX_mouseData { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCTEX_mouseData { type Abi = Self ; } impl :: std :: ops :: BitOr for MOUSEHOOKSTRUCTEX_mouseData { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MOUSEHOOKSTRUCTEX_mouseData { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MOUSEHOOKSTRUCTEX_mouseData { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MOUSEHOOKSTRUCTEX_mouseData { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MOUSEHOOKSTRUCTEX { pub __AnonymousBase_winuser_L1173_C46 : MOUSEHOOKSTRUCT , pub mouseData : MOUSEHOOKSTRUCTEX_mouseData } impl MOUSEHOOKSTRUCTEX { } impl :: std :: default :: Default for MOUSEHOOKSTRUCTEX { fn default ( ) -> Self { Self { __AnonymousBase_winuser_L1173_C46 : :: std :: default :: Default :: default ( ) , mouseData : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MOUSEHOOKSTRUCTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSEHOOKSTRUCTEX" ) . field ( "__AnonymousBase_winuser_L1173_C46" , & format_args ! ( "{:?}" , self . __AnonymousBase_winuser_L1173_C46 ) ) . field ( "mouseData" , & format_args ! ( "{:?}" , self . mouseData ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSEHOOKSTRUCTEX { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_winuser_L1173_C46 == other . __AnonymousBase_winuser_L1173_C46 && self . mouseData == other . mouseData } } impl :: std :: cmp :: Eq for MOUSEHOOKSTRUCTEX { } unsafe impl :: windows :: Abi for MOUSEHOOKSTRUCTEX { type Abi = Self ; } pub const MOUSEWHEEL_ROUTING_FOCUS : u32 = 0u32 ; pub const MOUSEWHEEL_ROUTING_HYBRID : u32 = 1u32 ; pub const MOUSEWHEEL_ROUTING_MOUSE_POS : u32 = 2u32 ; pub type MSGBOXCALLBACK = extern "system" fn ( lphelpinfo : * mut super :: Shell :: HELPINFO ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSGBOXPARAMSA { pub cbSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszText : super :: SystemServices :: PSTR , pub lpszCaption : super :: SystemServices :: PSTR , pub dwStyle : MESSAGEBOX_STYLE , pub lpszIcon : super :: SystemServices :: PSTR , pub dwContextHelpId : usize , pub lpfnMsgBoxCallback : :: std :: option :: Option < MSGBOXCALLBACK > , pub dwLanguageId : u32 } impl MSGBOXPARAMSA { } impl :: std :: default :: Default for MSGBOXPARAMSA { fn default ( ) -> Self { Self { cbSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszText : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , lpszIcon : :: std :: default :: Default :: default ( ) , dwContextHelpId : 0 , lpfnMsgBoxCallback : :: std :: default :: Default :: default ( ) , dwLanguageId : 0 } } } impl :: std :: fmt :: Debug for MSGBOXPARAMSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSGBOXPARAMSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszText" , & format_args ! ( "{:?}" , self . lpszText ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "lpszIcon" , & format_args ! ( "{:?}" , self . lpszIcon ) ) . field ( "dwContextHelpId" , & format_args ! ( "{:?}" , self . dwContextHelpId ) ) . field ( "dwLanguageId" , & format_args ! ( "{:?}" , self . dwLanguageId ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSGBOXPARAMSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpszText == other . lpszText && self . lpszCaption == other . lpszCaption && self . dwStyle == other . dwStyle && self . lpszIcon == other . lpszIcon && self . dwContextHelpId == other . dwContextHelpId && self . lpfnMsgBoxCallback . map ( | f | f as usize ) == other . lpfnMsgBoxCallback . map ( | f | f as usize ) && self . dwLanguageId == other . dwLanguageId } } impl :: std :: cmp :: Eq for MSGBOXPARAMSA { } unsafe impl :: windows :: Abi for MSGBOXPARAMSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSGBOXPARAMSW { pub cbSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpszText : super :: SystemServices :: PWSTR , pub lpszCaption : super :: SystemServices :: PWSTR , pub dwStyle : MESSAGEBOX_STYLE , pub lpszIcon : super :: SystemServices :: PWSTR , pub dwContextHelpId : usize , pub lpfnMsgBoxCallback : :: std :: option :: Option < MSGBOXCALLBACK > , pub dwLanguageId : u32 } impl MSGBOXPARAMSW { } impl :: std :: default :: Default for MSGBOXPARAMSW { fn default ( ) -> Self { Self { cbSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszText : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , dwStyle : :: std :: default :: Default :: default ( ) , lpszIcon : :: std :: default :: Default :: default ( ) , dwContextHelpId : 0 , lpfnMsgBoxCallback : :: std :: default :: Default :: default ( ) , dwLanguageId : 0 } } } impl :: std :: fmt :: Debug for MSGBOXPARAMSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSGBOXPARAMSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpszText" , & format_args ! ( "{:?}" , self . lpszText ) ) . field ( "lpszCaption" , & format_args ! ( "{:?}" , self . lpszCaption ) ) . field ( "dwStyle" , & format_args ! ( "{:?}" , self . dwStyle ) ) . field ( "lpszIcon" , & format_args ! ( "{:?}" , self . lpszIcon ) ) . field ( "dwContextHelpId" , & format_args ! ( "{:?}" , self . dwContextHelpId ) ) . field ( "dwLanguageId" , & format_args ! ( "{:?}" , self . dwLanguageId ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSGBOXPARAMSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpszText == other . lpszText && self . lpszCaption == other . lpszCaption && self . dwStyle == other . dwStyle && self . lpszIcon == other . lpszIcon && self . dwContextHelpId == other . dwContextHelpId && self . lpfnMsgBoxCallback . map ( | f | f as usize ) == other . lpfnMsgBoxCallback . map ( | f | f as usize ) && self . dwLanguageId == other . dwLanguageId } } impl :: std :: cmp :: Eq for MSGBOXPARAMSW { } unsafe impl :: windows :: Abi for MSGBOXPARAMSW { type Abi = Self ; } pub const MSGF_DIALOGBOX : u32 = 0u32 ; pub const MSGF_MAX : u32 = 8u32 ; pub const MSGF_MENU : u32 = 2u32 ; pub const MSGF_MESSAGEBOX : u32 = 1u32 ; pub const MSGF_NEXTWINDOW : u32 = 6u32 ; pub const MSGF_SCROLLBAR : u32 = 5u32 ; pub const MSGF_USER : u32 = 4096u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MSLLHOOKSTRUCT { pub pt : super :: DisplayDevices :: POINT , pub mouseData : MOUSEHOOKSTRUCTEX_mouseData , pub flags : u32 , pub time : u32 , pub dwExtraInfo : usize } impl MSLLHOOKSTRUCT { } impl :: std :: default :: Default for MSLLHOOKSTRUCT { fn default ( ) -> Self { Self { pt : :: std :: default :: Default :: default ( ) , mouseData : :: std :: default :: Default :: default ( ) , flags : 0 , time : 0 , dwExtraInfo : 0 } } } impl :: std :: fmt :: Debug for MSLLHOOKSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSLLHOOKSTRUCT" ) . field ( "pt" , & format_args ! ( "{:?}" , self . pt ) ) . field ( "mouseData" , & format_args ! ( "{:?}" , self . mouseData ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . field ( "time" , & format_args ! ( "{:?}" , self . time ) ) . field ( "dwExtraInfo" , & format_args ! ( "{:?}" , self . dwExtraInfo ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSLLHOOKSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . pt == other . pt && self . mouseData == other . mouseData && self . flags == other . flags && self . time == other . time && self . dwExtraInfo == other . dwExtraInfo } } impl :: std :: cmp :: Eq for MSLLHOOKSTRUCT { } unsafe impl :: windows :: Abi for MSLLHOOKSTRUCT { type Abi = Self ; } pub unsafe fn MapDialogRect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hdlg : T0__ , lprect : * mut super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MenuItemFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwnd : T0__ , hmenu : T1__ , ptscreen : T2__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxExA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , wlanguageid : u16 , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxExW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , wlanguageid : u16 , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxIndirectA < > ( lpmbp : * const MSGBOXPARAMSA , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxIndirectW < > ( lpmbp : * const MSGBOXPARAMSW , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MessageBoxW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lptext : T1__ , lpcaption : T2__ , utype : MESSAGEBOX_STYLE , ) -> MESSAGEBOX_RESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyMenuA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hmnu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ModifyMenuW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hmnu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , uidnewitem : usize , lpnewitem : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , x : i32 , y : i32 , nwidth : i32 , nheight : i32 , brepaint : T5__ , ) -> super :: SystemServices :: BOOL { panic ! ( "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 MrmPlatformVersion ( pub i32 ) ; impl MrmPlatformVersion { pub const MrmPlatformVersion_Default : Self = Self ( 0i32 ) ; pub const MrmPlatformVersion_Windows10_0_0_0 : Self = Self ( 17432576i32 ) ; pub const MrmPlatformVersion_Windows10_0_0_5 : Self = Self ( 17432581i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPlatformVersion { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPlatformVersion { type Abi = Self ; } pub unsafe fn MrmCreateConfig < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( platformversion : MrmPlatformVersion , defaultqualifiers : T1__ , outputxmlfile : T2__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateConfigInMemory < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( platformversion : MrmPlatformVersion , defaultqualifiers : T1__ , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MrmResourceIndexerHandle { pub handle : * mut :: std :: ffi :: c_void } impl MrmResourceIndexerHandle { } impl :: std :: default :: Default for MrmResourceIndexerHandle { fn default ( ) -> Self { Self { handle : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for MrmResourceIndexerHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MrmResourceIndexerHandle" ) . field ( "handle" , & format_args ! ( "{:?}" , self . handle ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MrmResourceIndexerHandle { fn eq ( & self , other : & Self ) -> bool { self . handle == other . handle } } impl :: std :: cmp :: Eq for MrmResourceIndexerHandle { } unsafe impl :: windows :: Abi for MrmResourceIndexerHandle { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPackagingMode ( pub i32 ) ; impl MrmPackagingMode { pub const MrmPackagingModeStandaloneFile : Self = Self ( 0i32 ) ; pub const MrmPackagingModeAutoSplit : Self = Self ( 1i32 ) ; pub const MrmPackagingModeResourcePack : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPackagingMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPackagingMode { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MrmPackagingOptions ( pub i32 ) ; impl MrmPackagingOptions { pub const MrmPackagingOptionsNone : Self = Self ( 0i32 ) ; pub const MrmPackagingOptionsOmitSchemaFromResourcePacks : Self = Self ( 1i32 ) ; pub const MrmPackagingOptionsSplitLanguageVariants : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmPackagingOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmPackagingOptions { type Abi = Self ; } pub unsafe fn MrmCreateResourceFile < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputdirectory : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceFileInMemory < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( indexer : T0__ , packagingmode : MrmPackagingMode , packagingoptions : MrmPackagingOptions , outputpridata : * mut * mut u8 , outputprisize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexer < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( packagefamilyname : T0__ , projectroot : T1__ , platformversion : MrmPlatformVersion , defaultqualifiers : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousPriData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , pridata : * mut u8 , prisize : u32 , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousPriFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , prifile : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousSchemaData < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , schemaxmldata : * mut u8 , schemaxmlsize : u32 , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmCreateResourceIndexerFromPreviousSchemaFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( projectroot : T0__ , platformversion : MrmPlatformVersion , defaultqualifiers : T2__ , schemafile : T3__ , indexer : * mut MrmResourceIndexerHandle , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDestroyIndexerAndMessages < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( indexer : T0__ , ) -> :: windows :: ErrorCode { panic ! ( "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 MrmDumpType ( pub i32 ) ; impl MrmDumpType { pub const MrmDumpType_Basic : Self = Self ( 0i32 ) ; pub const MrmDumpType_Detailed : Self = Self ( 1i32 ) ; pub const MrmDumpType_Schema : Self = Self ( 2i32 ) ; } impl :: std :: convert :: From < i32 > for MrmDumpType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmDumpType { type Abi = Self ; } pub unsafe fn MrmDumpPriDataInMemory < > ( inputpridata : * mut u8 , inputprisize : u32 , schemapridata : * mut u8 , schemaprisize : u32 , dumptype : MrmDumpType , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDumpPriFile < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexfilename : T0__ , schemaprifile : T1__ , dumptype : MrmDumpType , outputxmlfile : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmDumpPriFileInMemory < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexfilename : T0__ , schemaprifile : T1__ , dumptype : MrmDumpType , outputxmldata : * mut * mut u8 , outputxmlsize : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmFreeMemory < > ( data : * mut u8 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexEmbeddedData < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , embeddeddata : * const u8 , embeddeddatasize : u32 , qualifiers : T4__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexFile < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , filepath : T2__ , qualifiers : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexFileAutoQualifiers < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , filepath : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexResourceContainerAutoQualifiers < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , containerpath : T1__ , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn MrmIndexString < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( indexer : T0__ , resourceuri : T1__ , resourcestring : T2__ , qualifiers : T3__ , ) -> :: windows :: ErrorCode { panic ! ( "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 MrmResourceIndexerMessageSeverity ( pub i32 ) ; impl MrmResourceIndexerMessageSeverity { pub const MrmResourceIndexerMessageSeverityVerbose : Self = Self ( 0i32 ) ; pub const MrmResourceIndexerMessageSeverityInfo : Self = Self ( 1i32 ) ; pub const MrmResourceIndexerMessageSeverityWarning : Self = Self ( 2i32 ) ; pub const MrmResourceIndexerMessageSeverityError : Self = Self ( 3i32 ) ; } impl :: std :: convert :: From < i32 > for MrmResourceIndexerMessageSeverity { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MrmResourceIndexerMessageSeverity { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MrmResourceIndexerMessage { pub severity : MrmResourceIndexerMessageSeverity , pub id : u32 , pub text : super :: SystemServices :: PWSTR } impl MrmResourceIndexerMessage { } impl :: std :: default :: Default for MrmResourceIndexerMessage { fn default ( ) -> Self { Self { severity : :: std :: default :: Default :: default ( ) , id : 0 , text : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MrmResourceIndexerMessage { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MrmResourceIndexerMessage" ) . field ( "severity" , & format_args ! ( "{:?}" , self . severity ) ) . field ( "id" , & format_args ! ( "{:?}" , self . id ) ) . field ( "text" , & format_args ! ( "{:?}" , self . text ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MrmResourceIndexerMessage { fn eq ( & self , other : & Self ) -> bool { self . severity == other . severity && self . id == other . id && self . text == other . text } } impl :: std :: cmp :: Eq for MrmResourceIndexerMessage { } unsafe impl :: windows :: Abi for MrmResourceIndexerMessage { type Abi = Self ; } pub unsafe fn MrmPeekResourceIndexerMessages < 'a , T0__ : :: windows :: IntoParam < 'a , MrmResourceIndexerHandle > , > ( handle : T0__ , messages : * mut * mut MrmResourceIndexerMessage , nummsgs : * mut u32 , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub type NAMEENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type NAMEENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct WINDOWPOS { pub hwnd : HWND , pub hwndInsertAfter : HWND , pub x : i32 , pub y : i32 , pub cx : i32 , pub cy : i32 , pub flags : SetWindowPos_uFlags } impl WINDOWPOS { } impl :: std :: default :: Default for WINDOWPOS { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , hwndInsertAfter : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , cx : 0 , cy : 0 , flags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOWPOS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOWPOS" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "hwndInsertAfter" , & format_args ! ( "{:?}" , self . hwndInsertAfter ) ) . field ( "x" , & format_args ! ( "{:?}" , self . x ) ) . field ( "y" , & format_args ! ( "{:?}" , self . y ) ) . field ( "cx" , & format_args ! ( "{:?}" , self . cx ) ) . field ( "cy" , & format_args ! ( "{:?}" , self . cy ) ) . field ( "flags" , & format_args ! ( "{:?}" , self . flags ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOWPOS { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . hwndInsertAfter == other . hwndInsertAfter && self . x == other . x && self . y == other . y && self . cx == other . cx && self . cy == other . cy && self . flags == other . flags } } impl :: std :: cmp :: Eq for WINDOWPOS { } unsafe impl :: windows :: Abi for WINDOWPOS { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NCCALCSIZE_PARAMS { pub rgrc : [ super :: DisplayDevices :: RECT ;3 ] , pub lppos : * mut WINDOWPOS } impl NCCALCSIZE_PARAMS { } impl :: std :: default :: Default for NCCALCSIZE_PARAMS { fn default ( ) -> Self { Self { rgrc : [ :: std :: default :: Default :: default ( ) ;3 ] , lppos : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for NCCALCSIZE_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NCCALCSIZE_PARAMS" ) . field ( "rgrc" , & format_args ! ( "{:?}" , self . rgrc ) ) . field ( "lppos" , & format_args ! ( "{:?}" , self . lppos ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NCCALCSIZE_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . rgrc == other . rgrc && self . lppos == other . lppos } } impl :: std :: cmp :: Eq for NCCALCSIZE_PARAMS { } unsafe impl :: windows :: Abi for NCCALCSIZE_PARAMS { type Abi = Self ; } pub const NFR_ANSI : u32 = 1u32 ; pub const NFR_UNICODE : u32 = 2u32 ; pub const NF_QUERY : u32 = 3u32 ; pub const NF_REQUERY : u32 = 4u32 ; pub const NID_EXTERNAL_PEN : u32 = 8u32 ; pub const NID_EXTERNAL_TOUCH : u32 = 2u32 ; pub const NID_INTEGRATED_PEN : u32 = 4u32 ; pub const NID_INTEGRATED_TOUCH : u32 = 1u32 ; pub const NID_MULTI_INPUT : u32 = 64u32 ; pub const NID_READY : u32 = 128u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NONCLIENTMETRICSA { pub cbSize : u32 , pub iBorderWidth : i32 , pub iScrollWidth : i32 , pub iScrollHeight : i32 , pub iCaptionWidth : i32 , pub iCaptionHeight : i32 , pub lfCaptionFont : super :: Shell :: LOGFONTA , pub iSmCaptionWidth : i32 , pub iSmCaptionHeight : i32 , pub lfSmCaptionFont : super :: Shell :: LOGFONTA , pub iMenuWidth : i32 , pub iMenuHeight : i32 , pub lfMenuFont : super :: Shell :: LOGFONTA , pub lfStatusFont : super :: Shell :: LOGFONTA , pub lfMessageFont : super :: Shell :: LOGFONTA , pub iPaddedBorderWidth : i32 } impl NONCLIENTMETRICSA { } impl :: std :: default :: Default for NONCLIENTMETRICSA { fn default ( ) -> Self { Self { cbSize : 0 , iBorderWidth : 0 , iScrollWidth : 0 , iScrollHeight : 0 , iCaptionWidth : 0 , iCaptionHeight : 0 , lfCaptionFont : :: std :: default :: Default :: default ( ) , iSmCaptionWidth : 0 , iSmCaptionHeight : 0 , lfSmCaptionFont : :: std :: default :: Default :: default ( ) , iMenuWidth : 0 , iMenuHeight : 0 , lfMenuFont : :: std :: default :: Default :: default ( ) , lfStatusFont : :: std :: default :: Default :: default ( ) , lfMessageFont : :: std :: default :: Default :: default ( ) , iPaddedBorderWidth : 0 } } } impl :: std :: fmt :: Debug for NONCLIENTMETRICSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NONCLIENTMETRICSA" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iBorderWidth" , & format_args ! ( "{:?}" , self . iBorderWidth ) ) . field ( "iScrollWidth" , & format_args ! ( "{:?}" , self . iScrollWidth ) ) . field ( "iScrollHeight" , & format_args ! ( "{:?}" , self . iScrollHeight ) ) . field ( "iCaptionWidth" , & format_args ! ( "{:?}" , self . iCaptionWidth ) ) . field ( "iCaptionHeight" , & format_args ! ( "{:?}" , self . iCaptionHeight ) ) . field ( "lfCaptionFont" , & format_args ! ( "{:?}" , self . lfCaptionFont ) ) . field ( "iSmCaptionWidth" , & format_args ! ( "{:?}" , self . iSmCaptionWidth ) ) . field ( "iSmCaptionHeight" , & format_args ! ( "{:?}" , self . iSmCaptionHeight ) ) . field ( "lfSmCaptionFont" , & format_args ! ( "{:?}" , self . lfSmCaptionFont ) ) . field ( "iMenuWidth" , & format_args ! ( "{:?}" , self . iMenuWidth ) ) . field ( "iMenuHeight" , & format_args ! ( "{:?}" , self . iMenuHeight ) ) . field ( "lfMenuFont" , & format_args ! ( "{:?}" , self . lfMenuFont ) ) . field ( "lfStatusFont" , & format_args ! ( "{:?}" , self . lfStatusFont ) ) . field ( "lfMessageFont" , & format_args ! ( "{:?}" , self . lfMessageFont ) ) . field ( "iPaddedBorderWidth" , & format_args ! ( "{:?}" , self . iPaddedBorderWidth ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NONCLIENTMETRICSA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iBorderWidth == other . iBorderWidth && self . iScrollWidth == other . iScrollWidth && self . iScrollHeight == other . iScrollHeight && self . iCaptionWidth == other . iCaptionWidth && self . iCaptionHeight == other . iCaptionHeight && self . lfCaptionFont == other . lfCaptionFont && self . iSmCaptionWidth == other . iSmCaptionWidth && self . iSmCaptionHeight == other . iSmCaptionHeight && self . lfSmCaptionFont == other . lfSmCaptionFont && self . iMenuWidth == other . iMenuWidth && self . iMenuHeight == other . iMenuHeight && self . lfMenuFont == other . lfMenuFont && self . lfStatusFont == other . lfStatusFont && self . lfMessageFont == other . lfMessageFont && self . iPaddedBorderWidth == other . iPaddedBorderWidth } } impl :: std :: cmp :: Eq for NONCLIENTMETRICSA { } unsafe impl :: windows :: Abi for NONCLIENTMETRICSA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct NONCLIENTMETRICSW { pub cbSize : u32 , pub iBorderWidth : i32 , pub iScrollWidth : i32 , pub iScrollHeight : i32 , pub iCaptionWidth : i32 , pub iCaptionHeight : i32 , pub lfCaptionFont : super :: Shell :: LOGFONTW , pub iSmCaptionWidth : i32 , pub iSmCaptionHeight : i32 , pub lfSmCaptionFont : super :: Shell :: LOGFONTW , pub iMenuWidth : i32 , pub iMenuHeight : i32 , pub lfMenuFont : super :: Shell :: LOGFONTW , pub lfStatusFont : super :: Shell :: LOGFONTW , pub lfMessageFont : super :: Shell :: LOGFONTW , pub iPaddedBorderWidth : i32 } impl NONCLIENTMETRICSW { } impl :: std :: default :: Default for NONCLIENTMETRICSW { fn default ( ) -> Self { Self { cbSize : 0 , iBorderWidth : 0 , iScrollWidth : 0 , iScrollHeight : 0 , iCaptionWidth : 0 , iCaptionHeight : 0 , lfCaptionFont : :: std :: default :: Default :: default ( ) , iSmCaptionWidth : 0 , iSmCaptionHeight : 0 , lfSmCaptionFont : :: std :: default :: Default :: default ( ) , iMenuWidth : 0 , iMenuHeight : 0 , lfMenuFont : :: std :: default :: Default :: default ( ) , lfStatusFont : :: std :: default :: Default :: default ( ) , lfMessageFont : :: std :: default :: Default :: default ( ) , iPaddedBorderWidth : 0 } } } impl :: std :: fmt :: Debug for NONCLIENTMETRICSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NONCLIENTMETRICSW" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "iBorderWidth" , & format_args ! ( "{:?}" , self . iBorderWidth ) ) . field ( "iScrollWidth" , & format_args ! ( "{:?}" , self . iScrollWidth ) ) . field ( "iScrollHeight" , & format_args ! ( "{:?}" , self . iScrollHeight ) ) . field ( "iCaptionWidth" , & format_args ! ( "{:?}" , self . iCaptionWidth ) ) . field ( "iCaptionHeight" , & format_args ! ( "{:?}" , self . iCaptionHeight ) ) . field ( "lfCaptionFont" , & format_args ! ( "{:?}" , self . lfCaptionFont ) ) . field ( "iSmCaptionWidth" , & format_args ! ( "{:?}" , self . iSmCaptionWidth ) ) . field ( "iSmCaptionHeight" , & format_args ! ( "{:?}" , self . iSmCaptionHeight ) ) . field ( "lfSmCaptionFont" , & format_args ! ( "{:?}" , self . lfSmCaptionFont ) ) . field ( "iMenuWidth" , & format_args ! ( "{:?}" , self . iMenuWidth ) ) . field ( "iMenuHeight" , & format_args ! ( "{:?}" , self . iMenuHeight ) ) . field ( "lfMenuFont" , & format_args ! ( "{:?}" , self . lfMenuFont ) ) . field ( "lfStatusFont" , & format_args ! ( "{:?}" , self . lfStatusFont ) ) . field ( "lfMessageFont" , & format_args ! ( "{:?}" , self . lfMessageFont ) ) . field ( "iPaddedBorderWidth" , & format_args ! ( "{:?}" , self . iPaddedBorderWidth ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NONCLIENTMETRICSW { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . iBorderWidth == other . iBorderWidth && self . iScrollWidth == other . iScrollWidth && self . iScrollHeight == other . iScrollHeight && self . iCaptionWidth == other . iCaptionWidth && self . iCaptionHeight == other . iCaptionHeight && self . lfCaptionFont == other . lfCaptionFont && self . iSmCaptionWidth == other . iSmCaptionWidth && self . iSmCaptionHeight == other . iSmCaptionHeight && self . lfSmCaptionFont == other . lfSmCaptionFont && self . iMenuWidth == other . iMenuWidth && self . iMenuHeight == other . iMenuHeight && self . lfMenuFont == other . lfMenuFont && self . lfStatusFont == other . lfStatusFont && self . lfMessageFont == other . lfMessageFont && self . iPaddedBorderWidth == other . iPaddedBorderWidth } } impl :: std :: cmp :: Eq for NONCLIENTMETRICSW { } unsafe impl :: windows :: Abi for NONCLIENTMETRICSW { type Abi = Self ; } pub const OBM_BTNCORNERS : u32 = 32758u32 ; pub const OBM_BTSIZE : u32 = 32761u32 ; pub const OBM_CHECK : u32 = 32760u32 ; pub const OBM_CHECKBOXES : u32 = 32759u32 ; pub const OBM_CLOSE : u32 = 32754u32 ; pub const OBM_COMBO : u32 = 32738u32 ; pub const OBM_DNARROW : u32 = 32752u32 ; pub const OBM_DNARROWD : u32 = 32742u32 ; pub const OBM_DNARROWI : u32 = 32736u32 ; pub const OBM_LFARROW : u32 = 32750u32 ; pub const OBM_LFARROWD : u32 = 32740u32 ; pub const OBM_LFARROWI : u32 = 32734u32 ; pub const OBM_MNARROW : u32 = 32739u32 ; pub const OBM_OLD_CLOSE : u32 = 32767u32 ; pub const OBM_OLD_DNARROW : u32 = 32764u32 ; pub const OBM_OLD_LFARROW : u32 = 32762u32 ; pub const OBM_OLD_REDUCE : u32 = 32757u32 ; pub const OBM_OLD_RESTORE : u32 = 32755u32 ; pub const OBM_OLD_RGARROW : u32 = 32763u32 ; pub const OBM_OLD_UPARROW : u32 = 32765u32 ; pub const OBM_OLD_ZOOM : u32 = 32756u32 ; pub const OBM_REDUCE : u32 = 32749u32 ; pub const OBM_REDUCED : u32 = 32746u32 ; pub const OBM_RESTORE : u32 = 32747u32 ; pub const OBM_RESTORED : u32 = 32744u32 ; pub const OBM_RGARROW : u32 = 32751u32 ; pub const OBM_RGARROWD : u32 = 32741u32 ; pub const OBM_RGARROWI : u32 = 32735u32 ; pub const OBM_SIZE : u32 = 32766u32 ; pub const OBM_UPARROW : u32 = 32753u32 ; pub const OBM_UPARROWD : u32 = 32743u32 ; pub const OBM_UPARROWI : u32 = 32737u32 ; pub const OBM_ZOOM : u32 = 32748u32 ; pub const OBM_ZOOMD : u32 = 32745u32 ; pub const OCR_ICOCUR : u32 = 32647u32 ; pub const OCR_ICON : u32 = 32641u32 ; pub const OCR_SIZE : u32 = 32640u32 ; pub const ODA_DRAWENTIRE : u32 = 1u32 ; pub const ODA_FOCUS : u32 = 4u32 ; pub const ODA_SELECT : u32 = 2u32 ; pub const ODS_CHECKED : u32 = 8u32 ; pub const ODS_COMBOBOXEDIT : u32 = 4096u32 ; pub const ODS_DEFAULT : u32 = 32u32 ; pub const ODS_DISABLED : u32 = 4u32 ; pub const ODS_FOCUS : u32 = 16u32 ; pub const ODS_GRAYED : u32 = 2u32 ; pub const ODS_HOTLIGHT : u32 = 64u32 ; pub const ODS_INACTIVE : u32 = 128u32 ; pub const ODS_NOACCEL : u32 = 256u32 ; pub const ODS_NOFOCUSRECT : u32 = 512u32 ; pub const ODS_SELECTED : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYA { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEA , pub pszFile : super :: SystemServices :: PSTR } impl OFNOTIFYA { } impl :: std :: default :: Default for OFNOTIFYA { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , pszFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYA" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "pszFile" , & format_args ! ( "{:?}" , self . pszFile ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYA { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . pszFile == other . pszFile } } impl :: std :: cmp :: Eq for OFNOTIFYA { } unsafe impl :: windows :: Abi for OFNOTIFYA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYEXA { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEA , pub psf : * mut :: std :: ffi :: c_void , pub pidl : * mut :: std :: ffi :: c_void } impl OFNOTIFYEXA { } impl :: std :: default :: Default for OFNOTIFYEXA { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , psf : :: std :: ptr :: null_mut ( ) , pidl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYEXA" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "psf" , & format_args ! ( "{:?}" , self . psf ) ) . field ( "pidl" , & format_args ! ( "{:?}" , self . pidl ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYEXA { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . psf == other . psf && self . pidl == other . pidl } } impl :: std :: cmp :: Eq for OFNOTIFYEXA { } unsafe impl :: windows :: Abi for OFNOTIFYEXA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYEXW { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEW , pub psf : * mut :: std :: ffi :: c_void , pub pidl : * mut :: std :: ffi :: c_void } impl OFNOTIFYEXW { } impl :: std :: default :: Default for OFNOTIFYEXW { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , psf : :: std :: ptr :: null_mut ( ) , pidl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYEXW" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "psf" , & format_args ! ( "{:?}" , self . psf ) ) . field ( "pidl" , & format_args ! ( "{:?}" , self . pidl ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYEXW { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . psf == other . psf && self . pidl == other . pidl } } impl :: std :: cmp :: Eq for OFNOTIFYEXW { } unsafe impl :: windows :: Abi for OFNOTIFYEXW { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OFNOTIFYW { pub hdr : super :: Controls :: NMHDR , pub lpOFN : * mut OPENFILENAMEW , pub pszFile : super :: SystemServices :: PWSTR } impl OFNOTIFYW { } impl :: std :: default :: Default for OFNOTIFYW { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , pszFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OFNOTIFYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFNOTIFYW" ) . field ( "hdr" , & format_args ! ( "{:?}" , self . hdr ) ) . field ( "lpOFN" , & format_args ! ( "{:?}" , self . lpOFN ) ) . field ( "pszFile" , & format_args ! ( "{:?}" , self . pszFile ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFNOTIFYW { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . lpOFN == other . lpOFN && self . pszFile == other . pszFile } } impl :: std :: cmp :: Eq for OFNOTIFYW { } unsafe impl :: windows :: Abi for OFNOTIFYW { type Abi = Self ; } pub const OFN_SHAREFALLTHROUGH : u32 = 2u32 ; pub const OFN_SHARENOWARN : u32 = 1u32 ; pub const OFN_SHAREWARN : u32 = 0u32 ; pub const OIC_BANG : u32 = 32515u32 ; pub const OIC_HAND : u32 = 32513u32 ; pub const OIC_NOTE : u32 = 32516u32 ; pub const OIC_QUES : u32 = 32514u32 ; pub const OIC_SAMPLE : u32 = 32512u32 ; pub const OIC_SHIELD : u32 = 32518u32 ; pub const OIC_WINLOGO : u32 = 32517u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAME_NT4A { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PSTR , pub lpstrCustomFilter : super :: SystemServices :: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PSTR , pub lpstrTitle : super :: SystemServices :: PSTR , pub Flags : u32 , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PSTR } impl OPENFILENAME_NT4A { } impl :: std :: default :: Default for OPENFILENAME_NT4A { 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 : 0 , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAME_NT4A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAME_NT4A" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAME_NT4A { 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 } } impl :: std :: cmp :: Eq for OPENFILENAME_NT4A { } unsafe impl :: windows :: Abi for OPENFILENAME_NT4A { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAME_NT4W { pub lStructSize : u32 , pub hwndOwner : HWND , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpstrFilter : super :: SystemServices :: PWSTR , pub lpstrCustomFilter : super :: SystemServices :: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super :: SystemServices :: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super :: SystemServices :: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super :: SystemServices :: PWSTR , pub lpstrTitle : super :: SystemServices :: PWSTR , pub Flags : u32 , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super :: SystemServices :: PWSTR , pub lCustData : LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super :: SystemServices :: PWSTR } impl OPENFILENAME_NT4W { } impl :: std :: default :: Default for OPENFILENAME_NT4W { 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 : 0 , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAME_NT4W { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAME_NT4W" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpstrFilter" , & format_args ! ( "{:?}" , self . lpstrFilter ) ) . field ( "lpstrCustomFilter" , & format_args ! ( "{:?}" , self . lpstrCustomFilter ) ) . field ( "nMaxCustFilter" , & format_args ! ( "{:?}" , self . nMaxCustFilter ) ) . field ( "nFilterIndex" , & format_args ! ( "{:?}" , self . nFilterIndex ) ) . field ( "lpstrFile" , & format_args ! ( "{:?}" , self . lpstrFile ) ) . field ( "nMaxFile" , & format_args ! ( "{:?}" , self . nMaxFile ) ) . field ( "lpstrFileTitle" , & format_args ! ( "{:?}" , self . lpstrFileTitle ) ) . field ( "nMaxFileTitle" , & format_args ! ( "{:?}" , self . nMaxFileTitle ) ) . field ( "lpstrInitialDir" , & format_args ! ( "{:?}" , self . lpstrInitialDir ) ) . field ( "lpstrTitle" , & format_args ! ( "{:?}" , self . lpstrTitle ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFileOffset" , & format_args ! ( "{:?}" , self . nFileOffset ) ) . field ( "nFileExtension" , & format_args ! ( "{:?}" , self . nFileExtension ) ) . field ( "lpstrDefExt" , & format_args ! ( "{:?}" , self . lpstrDefExt ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpTemplateName" , & format_args ! ( "{:?}" , self . lpTemplateName ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAME_NT4W { 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 } } impl :: std :: cmp :: Eq for OPENFILENAME_NT4W { } unsafe impl :: windows :: Abi for OPENFILENAME_NT4W { type Abi = Self ; } pub const ORD_LANGDRIVER : u32 = 1u32 ; pub unsafe fn OemToCharA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharBuffA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharBuffW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpszsrc : T0__ , lpszdst : super :: SystemServices :: PWSTR , cchdstlength : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OemToCharW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( psrc : T0__ , pdst : super :: SystemServices :: PWSTR , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenIcon < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "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 PAGESETUPDLGA_Flags ( pub u32 ) ; impl PAGESETUPDLGA_Flags { pub const PSD_DEFAULTMINMARGINS : Self = Self ( 0u32 ) ; pub const PSD_DISABLEMARGINS : Self = Self ( 16u32 ) ; pub const PSD_DISABLEORIENTATION : Self = Self ( 256u32 ) ; pub const PSD_DISABLEPAGEPAINTING : Self = Self ( 524288u32 ) ; pub const PSD_DISABLEPAPER : Self = Self ( 512u32 ) ; pub const PSD_DISABLEPRINTER : Self = Self ( 32u32 ) ; pub const PSD_ENABLEPAGEPAINTHOOK : Self = Self ( 262144u32 ) ; pub const PSD_ENABLEPAGESETUPHOOK : Self = Self ( 8192u32 ) ; pub const PSD_ENABLEPAGESETUPTEMPLATE : Self = Self ( 32768u32 ) ; pub const PSD_ENABLEPAGESETUPTEMPLATEHANDLE : Self = Self ( 131072u32 ) ; pub const PSD_INHUNDREDTHSOFMILLIMETERS : Self = Self ( 8u32 ) ; pub const PSD_INTHOUSANDTHSOFINCHES : Self = Self ( 4u32 ) ; pub const PSD_INWININIINTLMEASURE : Self = Self ( 0u32 ) ; pub const PSD_MARGINS : Self = Self ( 2u32 ) ; pub const PSD_MINMARGINS : Self = Self ( 1u32 ) ; pub const PSD_NONETWORKBUTTON : Self = Self ( 2097152u32 ) ; pub const PSD_NOWARNING : Self = Self ( 128u32 ) ; pub const PSD_RETURNDEFAULT : Self = Self ( 1024u32 ) ; pub const PSD_SHOWHELP : Self = Self ( 2048u32 ) ; } impl :: std :: convert :: From < u32 > for PAGESETUPDLGA_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PAGESETUPDLGA_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for PAGESETUPDLGA_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PAGESETUPDLGA_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PAGESETUPDLGA_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PAGESETUPDLGA_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESETUPDLGA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub Flags : PAGESETUPDLGA_Flags , pub ptPaperSize : super :: DisplayDevices :: POINT , pub rtMinMargin : super :: DisplayDevices :: RECT , pub rtMargin : super :: DisplayDevices :: RECT , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPageSetupHook : :: std :: option :: Option < LPPAGESETUPHOOK > , pub lpfnPagePaintHook : :: std :: option :: Option < LPPAGEPAINTHOOK > , pub lpPageSetupTemplateName : super :: SystemServices :: PSTR , pub hPageSetupTemplate : isize } impl PAGESETUPDLGA { } impl :: std :: default :: Default for PAGESETUPDLGA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , Flags : :: std :: default :: Default :: default ( ) , ptPaperSize : :: std :: default :: Default :: default ( ) , rtMinMargin : :: std :: default :: Default :: default ( ) , rtMargin : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPageSetupHook : :: std :: default :: Default :: default ( ) , lpfnPagePaintHook : :: std :: default :: Default :: default ( ) , lpPageSetupTemplateName : :: std :: default :: Default :: default ( ) , hPageSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PAGESETUPDLGA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESETUPDLGA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "ptPaperSize" , & format_args ! ( "{:?}" , self . ptPaperSize ) ) . field ( "rtMinMargin" , & format_args ! ( "{:?}" , self . rtMinMargin ) ) . field ( "rtMargin" , & format_args ! ( "{:?}" , self . rtMargin ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPageSetupTemplateName" , & format_args ! ( "{:?}" , self . lpPageSetupTemplateName ) ) . field ( "hPageSetupTemplate" , & format_args ! ( "{:?}" , self . hPageSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESETUPDLGA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . Flags == other . Flags && self . ptPaperSize == other . ptPaperSize && self . rtMinMargin == other . rtMinMargin && self . rtMargin == other . rtMargin && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPageSetupHook . map ( | f | f as usize ) == other . lpfnPageSetupHook . map ( | f | f as usize ) && self . lpfnPagePaintHook . map ( | f | f as usize ) == other . lpfnPagePaintHook . map ( | f | f as usize ) && self . lpPageSetupTemplateName == other . lpPageSetupTemplateName && self . hPageSetupTemplate == other . hPageSetupTemplate } } impl :: std :: cmp :: Eq for PAGESETUPDLGA { } unsafe impl :: windows :: Abi for PAGESETUPDLGA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PAGESETUPDLGW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub Flags : PAGESETUPDLGA_Flags , pub ptPaperSize : super :: DisplayDevices :: POINT , pub rtMinMargin : super :: DisplayDevices :: RECT , pub rtMargin : super :: DisplayDevices :: RECT , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPageSetupHook : :: std :: option :: Option < LPPAGESETUPHOOK > , pub lpfnPagePaintHook : :: std :: option :: Option < LPPAGEPAINTHOOK > , pub lpPageSetupTemplateName : super :: SystemServices :: PWSTR , pub hPageSetupTemplate : isize } impl PAGESETUPDLGW { } impl :: std :: default :: Default for PAGESETUPDLGW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , Flags : :: std :: default :: Default :: default ( ) , ptPaperSize : :: std :: default :: Default :: default ( ) , rtMinMargin : :: std :: default :: Default :: default ( ) , rtMargin : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPageSetupHook : :: std :: default :: Default :: default ( ) , lpfnPagePaintHook : :: std :: default :: Default :: default ( ) , lpPageSetupTemplateName : :: std :: default :: Default :: default ( ) , hPageSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PAGESETUPDLGW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESETUPDLGW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "ptPaperSize" , & format_args ! ( "{:?}" , self . ptPaperSize ) ) . field ( "rtMinMargin" , & format_args ! ( "{:?}" , self . rtMinMargin ) ) . field ( "rtMargin" , & format_args ! ( "{:?}" , self . rtMargin ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPageSetupTemplateName" , & format_args ! ( "{:?}" , self . lpPageSetupTemplateName ) ) . field ( "hPageSetupTemplate" , & format_args ! ( "{:?}" , self . hPageSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESETUPDLGW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . Flags == other . Flags && self . ptPaperSize == other . ptPaperSize && self . rtMinMargin == other . rtMinMargin && self . rtMargin == other . rtMargin && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPageSetupHook . map ( | f | f as usize ) == other . lpfnPageSetupHook . map ( | f | f as usize ) && self . lpfnPagePaintHook . map ( | f | f as usize ) == other . lpfnPagePaintHook . map ( | f | f as usize ) && self . lpPageSetupTemplateName == other . lpPageSetupTemplateName && self . hPageSetupTemplate == other . hPageSetupTemplate } } impl :: std :: cmp :: Eq for PAGESETUPDLGW { } unsafe impl :: windows :: Abi for PAGESETUPDLGW { type Abi = Self ; } pub const PBTF_APMRESUMEFROMFAILURE : u32 = 1u32 ; pub const PBT_APMBATTERYLOW : u32 = 9u32 ; pub const PBT_APMOEMEVENT : u32 = 11u32 ; pub const PBT_APMPOWERSTATUSCHANGE : u32 = 10u32 ; pub const PBT_APMQUERYSTANDBY : u32 = 1u32 ; pub const PBT_APMQUERYSTANDBYFAILED : u32 = 3u32 ; pub const PBT_APMQUERYSUSPEND : u32 = 0u32 ; pub const PBT_APMQUERYSUSPENDFAILED : u32 = 2u32 ; pub const PBT_APMRESUMEAUTOMATIC : u32 = 18u32 ; pub const PBT_APMRESUMECRITICAL : u32 = 6u32 ; pub const PBT_APMRESUMESTANDBY : u32 = 8u32 ; pub const PBT_APMRESUMESUSPEND : u32 = 7u32 ; pub const PBT_APMSTANDBY : u32 = 5u32 ; pub const PBT_APMSUSPEND : u32 = 4u32 ; pub const PBT_POWERSETTINGCHANGE : u32 = 32787u32 ; pub const PDC_ARRIVAL : u32 = 1u32 ; pub const PDC_MAPPING_CHANGE : u32 = 256u32 ; pub const PDC_MODE_ASPECTRATIOPRESERVED : u32 = 2048u32 ; pub const PDC_MODE_CENTERED : u32 = 128u32 ; pub const PDC_MODE_DEFAULT : u32 = 64u32 ; pub const PDC_ORIENTATION_0 : u32 = 4u32 ; pub const PDC_ORIENTATION_180 : u32 = 16u32 ; pub const PDC_ORIENTATION_270 : u32 = 32u32 ; pub const PDC_ORIENTATION_90 : u32 = 8u32 ; pub const PDC_ORIGIN : u32 = 1024u32 ; pub const PDC_REMOVAL : u32 = 2u32 ; pub const PDC_RESOLUTION : u32 = 512u32 ; pub const PD_RESULT_APPLY : u32 = 2u32 ; pub const PD_RESULT_CANCEL : u32 = 0u32 ; pub const PD_RESULT_PRINT : u32 = 1u32 ; pub const PENARBITRATIONTYPE_FIS : u32 = 2u32 ; pub const PENARBITRATIONTYPE_MAX : u32 = 4u32 ; pub const PENARBITRATIONTYPE_NONE : u32 = 0u32 ; pub const PENARBITRATIONTYPE_SPT : u32 = 3u32 ; pub const PENARBITRATIONTYPE_WIN8 : u32 = 1u32 ; pub const PENVISUALIZATION_CURSOR : u32 = 32u32 ; pub const PENVISUALIZATION_DOUBLETAP : u32 = 2u32 ; pub const PENVISUALIZATION_OFF : u32 = 0u32 ; pub const PENVISUALIZATION_ON : u32 = 35u32 ; pub const PENVISUALIZATION_TAP : u32 = 1u32 ; pub const PEN_FLAG_BARREL : u32 = 1u32 ; pub const PEN_FLAG_ERASER : u32 = 4u32 ; pub const PEN_FLAG_INVERTED : u32 = 2u32 ; pub const PEN_FLAG_NONE : u32 = 0u32 ; pub const PEN_MASK_NONE : u32 = 0u32 ; pub const PEN_MASK_PRESSURE : u32 = 1u32 ; pub const PEN_MASK_ROTATION : u32 = 2u32 ; pub const PEN_MASK_TILT_X : u32 = 4u32 ; pub const PEN_MASK_TILT_Y : u32 = 8u32 ; pub const PMB_ACTIVE : u32 = 1u32 ; pub const POINTER_DEVICE_PRODUCT_STRING_MAX : u32 = 520u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POINTER_INPUT_TYPE ( pub i32 ) ; impl POINTER_INPUT_TYPE { pub const PT_POINTER : Self = Self ( 1i32 ) ; pub const PT_TOUCH : Self = Self ( 2i32 ) ; pub const PT_PEN : Self = Self ( 3i32 ) ; pub const PT_MOUSE : Self = Self ( 4i32 ) ; pub const PT_TOUCHPAD : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for POINTER_INPUT_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POINTER_INPUT_TYPE { type Abi = Self ; } pub const POINTER_MESSAGE_FLAG_CANCELED : u32 = 32768u32 ; pub const POINTER_MESSAGE_FLAG_CONFIDENCE : u32 = 16384u32 ; pub const POINTER_MESSAGE_FLAG_FIFTHBUTTON : u32 = 256u32 ; pub const POINTER_MESSAGE_FLAG_FIRSTBUTTON : u32 = 16u32 ; pub const POINTER_MESSAGE_FLAG_FOURTHBUTTON : u32 = 128u32 ; pub const POINTER_MESSAGE_FLAG_INCONTACT : u32 = 4u32 ; pub const POINTER_MESSAGE_FLAG_INRANGE : u32 = 2u32 ; pub const POINTER_MESSAGE_FLAG_NEW : u32 = 1u32 ; pub const POINTER_MESSAGE_FLAG_PRIMARY : u32 = 8192u32 ; pub const POINTER_MESSAGE_FLAG_SECONDBUTTON : u32 = 32u32 ; pub const POINTER_MESSAGE_FLAG_THIRDBUTTON : u32 = 64u32 ; pub const POINTER_MOD_CTRL : u32 = 8u32 ; pub const POINTER_MOD_SHIFT : u32 = 4u32 ; pub type PREGISTERCLASSNAMEW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR ) -> u8 ; pub const PRF_CHECKVISIBLE : i32 = 1i32 ; pub const PRF_CHILDREN : i32 = 16i32 ; pub const PRF_CLIENT : i32 = 4i32 ; pub const PRF_ERASEBKGND : i32 = 8i32 ; pub const PRF_NONCLIENT : i32 = 2i32 ; pub const PRF_OWNED : i32 = 32i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PRINTDLGEXA_Flags ( pub u32 ) ; impl PRINTDLGEXA_Flags { pub const PD_ALLPAGES : Self = Self ( 0u32 ) ; pub const PD_COLLATE : Self = Self ( 16u32 ) ; pub const PD_CURRENTPAGE : Self = Self ( 4194304u32 ) ; pub const PD_DISABLEPRINTTOFILE : Self = Self ( 524288u32 ) ; pub const PD_ENABLEPRINTTEMPLATE : Self = Self ( 16384u32 ) ; pub const PD_ENABLEPRINTTEMPLATEHANDLE : Self = Self ( 65536u32 ) ; pub const PD_EXCLUSIONFLAGS : Self = Self ( 16777216u32 ) ; pub const PD_HIDEPRINTTOFILE : Self = Self ( 1048576u32 ) ; pub const PD_NOCURRENTPAGE : Self = Self ( 8388608u32 ) ; pub const PD_NOPAGENUMS : Self = Self ( 8u32 ) ; pub const PD_NOSELECTION : Self = Self ( 4u32 ) ; pub const PD_NOWARNING : Self = Self ( 128u32 ) ; pub const PD_PAGENUMS : Self = Self ( 2u32 ) ; pub const PD_PRINTTOFILE : Self = Self ( 32u32 ) ; pub const PD_RETURNDC : Self = Self ( 256u32 ) ; pub const PD_RETURNDEFAULT : Self = Self ( 1024u32 ) ; pub const PD_RETURNIC : Self = Self ( 512u32 ) ; pub const PD_SELECTION : Self = Self ( 1u32 ) ; pub const PD_USEDEVMODECOPIES : Self = Self ( 262144u32 ) ; pub const PD_USEDEVMODECOPIESANDCOLLATE : Self = Self ( 262144u32 ) ; pub const PD_USELARGETEMPLATE : Self = Self ( 268435456u32 ) ; pub const PD_ENABLEPRINTHOOK : Self = Self ( 4096u32 ) ; pub const PD_ENABLESETUPHOOK : Self = Self ( 8192u32 ) ; pub const PD_ENABLESETUPTEMPLATE : Self = Self ( 32768u32 ) ; pub const PD_ENABLESETUPTEMPLATEHANDLE : Self = Self ( 131072u32 ) ; pub const PD_NONETWORKBUTTON : Self = Self ( 2097152u32 ) ; pub const PD_PRINTSETUP : Self = Self ( 64u32 ) ; pub const PD_SHOWHELP : Self = Self ( 2048u32 ) ; } impl :: std :: convert :: From < u32 > for PRINTDLGEXA_Flags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PRINTDLGEXA_Flags { type Abi = Self ; } impl :: std :: ops :: BitOr for PRINTDLGEXA_Flags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PRINTDLGEXA_Flags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PRINTDLGEXA_Flags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PRINTDLGEXA_Flags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub nFromPage : u16 , pub nToPage : u16 , pub nMinPage : u16 , pub nMaxPage : u16 , pub nCopies : u16 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPrintHook : :: std :: option :: Option < LPPRINTHOOKPROC > , pub lpfnSetupHook : :: std :: option :: Option < LPSETUPHOOKPROC > , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpSetupTemplateName : super :: SystemServices :: PSTR , pub hPrintTemplate : isize , pub hSetupTemplate : isize } impl PRINTDLGA { } impl :: std :: default :: Default for PRINTDLGA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFromPage : 0 , nToPage : 0 , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPrintHook : :: std :: default :: Default :: default ( ) , lpfnSetupHook : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpSetupTemplateName : :: std :: default :: Default :: default ( ) , hPrintTemplate : 0 , hSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpSetupTemplateName" , & format_args ! ( "{:?}" , self . lpSetupTemplateName ) ) . field ( "hPrintTemplate" , & format_args ! ( "{:?}" , self . hPrintTemplate ) ) . field ( "hSetupTemplate" , & format_args ! ( "{:?}" , self . hSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . nFromPage == other . nFromPage && self . nToPage == other . nToPage && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPrintHook . map ( | f | f as usize ) == other . lpfnPrintHook . map ( | f | f as usize ) && self . lpfnSetupHook . map ( | f | f as usize ) == other . lpfnSetupHook . map ( | f | f as usize ) && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpSetupTemplateName == other . lpSetupTemplateName && self . hPrintTemplate == other . hPrintTemplate && self . hSetupTemplate == other . hSetupTemplate } } impl :: std :: cmp :: Eq for PRINTDLGA { } unsafe impl :: windows :: Abi for PRINTDLGA { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTPAGERANGE { pub nFromPage : u32 , pub nToPage : u32 } impl PRINTPAGERANGE { } impl :: std :: default :: Default for PRINTPAGERANGE { fn default ( ) -> Self { Self { nFromPage : 0 , nToPage : 0 } } } impl :: std :: fmt :: Debug for PRINTPAGERANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTPAGERANGE" ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTPAGERANGE { fn eq ( & self , other : & Self ) -> bool { self . nFromPage == other . nFromPage && self . nToPage == other . nToPage } } impl :: std :: cmp :: Eq for PRINTPAGERANGE { } unsafe impl :: windows :: Abi for PRINTPAGERANGE { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct PRINTDLGEXA { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpCallback : :: std :: option :: Option < :: windows :: IUnknown > , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } impl PRINTDLGEXA { } impl :: std :: default :: Default for PRINTDLGEXA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , Flags2 : 0 , ExclusionFlags : 0 , nPageRanges : 0 , nMaxPageRanges : 0 , lpPageRanges : :: std :: ptr :: null_mut ( ) , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpCallback : :: std :: default :: Default :: default ( ) , nPropertyPages : 0 , lphPropertyPages : :: std :: ptr :: null_mut ( ) , nStartPage : 0 , dwResultAction : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGEXA" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Flags2" , & format_args ! ( "{:?}" , self . Flags2 ) ) . field ( "ExclusionFlags" , & format_args ! ( "{:?}" , self . ExclusionFlags ) ) . field ( "nPageRanges" , & format_args ! ( "{:?}" , self . nPageRanges ) ) . field ( "nMaxPageRanges" , & format_args ! ( "{:?}" , self . nMaxPageRanges ) ) . field ( "lpPageRanges" , & format_args ! ( "{:?}" , self . lpPageRanges ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpCallback" , & format_args ! ( "{:?}" , self . lpCallback ) ) . field ( "nPropertyPages" , & format_args ! ( "{:?}" , self . nPropertyPages ) ) . field ( "lphPropertyPages" , & format_args ! ( "{:?}" , self . lphPropertyPages ) ) . field ( "nStartPage" , & format_args ! ( "{:?}" , self . nStartPage ) ) . field ( "dwResultAction" , & format_args ! ( "{:?}" , self . dwResultAction ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGEXA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . Flags2 == other . Flags2 && self . ExclusionFlags == other . ExclusionFlags && self . nPageRanges == other . nPageRanges && self . nMaxPageRanges == other . nMaxPageRanges && self . lpPageRanges == other . lpPageRanges && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpCallback == other . lpCallback && self . nPropertyPages == other . nPropertyPages && self . lphPropertyPages == other . lphPropertyPages && self . nStartPage == other . nStartPage && self . dwResultAction == other . dwResultAction } } impl :: std :: cmp :: Eq for PRINTDLGEXA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGEXA_abi { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PSTR , pub lpCallback : :: windows :: RawPtr , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } unsafe impl :: windows :: Abi for PRINTDLGEXA { type Abi = PRINTDLGEXA_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone ) ] pub struct PRINTDLGEXW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpCallback : :: std :: option :: Option < :: windows :: IUnknown > , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } impl PRINTDLGEXW { } impl :: std :: default :: Default for PRINTDLGEXW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , Flags2 : 0 , ExclusionFlags : 0 , nPageRanges : 0 , nMaxPageRanges : 0 , lpPageRanges : :: std :: ptr :: null_mut ( ) , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpCallback : :: std :: default :: Default :: default ( ) , nPropertyPages : 0 , lphPropertyPages : :: std :: ptr :: null_mut ( ) , nStartPage : 0 , dwResultAction : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGEXW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "Flags2" , & format_args ! ( "{:?}" , self . Flags2 ) ) . field ( "ExclusionFlags" , & format_args ! ( "{:?}" , self . ExclusionFlags ) ) . field ( "nPageRanges" , & format_args ! ( "{:?}" , self . nPageRanges ) ) . field ( "nMaxPageRanges" , & format_args ! ( "{:?}" , self . nMaxPageRanges ) ) . field ( "lpPageRanges" , & format_args ! ( "{:?}" , self . lpPageRanges ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpCallback" , & format_args ! ( "{:?}" , self . lpCallback ) ) . field ( "nPropertyPages" , & format_args ! ( "{:?}" , self . nPropertyPages ) ) . field ( "lphPropertyPages" , & format_args ! ( "{:?}" , self . lphPropertyPages ) ) . field ( "nStartPage" , & format_args ! ( "{:?}" , self . nStartPage ) ) . field ( "dwResultAction" , & format_args ! ( "{:?}" , self . dwResultAction ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGEXW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . Flags2 == other . Flags2 && self . ExclusionFlags == other . ExclusionFlags && self . nPageRanges == other . nPageRanges && self . nMaxPageRanges == other . nMaxPageRanges && self . lpPageRanges == other . lpPageRanges && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpCallback == other . lpCallback && self . nPropertyPages == other . nPropertyPages && self . lphPropertyPages == other . lphPropertyPages && self . nStartPage == other . nStartPage && self . dwResultAction == other . dwResultAction } } impl :: std :: cmp :: Eq for PRINTDLGEXW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGEXW_abi { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub Flags2 : u32 , pub ExclusionFlags : u32 , pub nPageRanges : u32 , pub nMaxPageRanges : u32 , pub lpPageRanges : * mut PRINTPAGERANGE , pub nMinPage : u32 , pub nMaxPage : u32 , pub nCopies : u32 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpCallback : :: windows :: RawPtr , pub nPropertyPages : u32 , pub lphPropertyPages : * mut super :: Controls :: HPROPSHEETPAGE , pub nStartPage : u32 , pub dwResultAction : u32 } unsafe impl :: windows :: Abi for PRINTDLGEXW { type Abi = PRINTDLGEXW_abi ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PRINTDLGW { pub lStructSize : u32 , pub hwndOwner : HWND , pub hDevMode : isize , pub hDevNames : isize , pub hDC : super :: Gdi :: HDC , pub Flags : PRINTDLGEXA_Flags , pub nFromPage : u16 , pub nToPage : u16 , pub nMinPage : u16 , pub nMaxPage : u16 , pub nCopies : u16 , pub hInstance : super :: SystemServices :: HINSTANCE , pub lCustData : LPARAM , pub lpfnPrintHook : :: std :: option :: Option < LPPRINTHOOKPROC > , pub lpfnSetupHook : :: std :: option :: Option < LPSETUPHOOKPROC > , pub lpPrintTemplateName : super :: SystemServices :: PWSTR , pub lpSetupTemplateName : super :: SystemServices :: PWSTR , pub hPrintTemplate : isize , pub hSetupTemplate : isize } impl PRINTDLGW { } impl :: std :: default :: Default for PRINTDLGW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hDevMode : 0 , hDevNames : 0 , hDC : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFromPage : 0 , nToPage : 0 , nMinPage : 0 , nMaxPage : 0 , nCopies : 0 , hInstance : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnPrintHook : :: std :: default :: Default :: default ( ) , lpfnSetupHook : :: std :: default :: Default :: default ( ) , lpPrintTemplateName : :: std :: default :: Default :: default ( ) , lpSetupTemplateName : :: std :: default :: Default :: default ( ) , hPrintTemplate : 0 , hSetupTemplate : 0 } } } impl :: std :: fmt :: Debug for PRINTDLGW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRINTDLGW" ) . field ( "lStructSize" , & format_args ! ( "{:?}" , self . lStructSize ) ) . field ( "hwndOwner" , & format_args ! ( "{:?}" , self . hwndOwner ) ) . field ( "hDevMode" , & format_args ! ( "{:?}" , self . hDevMode ) ) . field ( "hDevNames" , & format_args ! ( "{:?}" , self . hDevNames ) ) . field ( "hDC" , & format_args ! ( "{:?}" , self . hDC ) ) . field ( "Flags" , & format_args ! ( "{:?}" , self . Flags ) ) . field ( "nFromPage" , & format_args ! ( "{:?}" , self . nFromPage ) ) . field ( "nToPage" , & format_args ! ( "{:?}" , self . nToPage ) ) . field ( "nMinPage" , & format_args ! ( "{:?}" , self . nMinPage ) ) . field ( "nMaxPage" , & format_args ! ( "{:?}" , self . nMaxPage ) ) . field ( "nCopies" , & format_args ! ( "{:?}" , self . nCopies ) ) . field ( "hInstance" , & format_args ! ( "{:?}" , self . hInstance ) ) . field ( "lCustData" , & format_args ! ( "{:?}" , self . lCustData ) ) . field ( "lpPrintTemplateName" , & format_args ! ( "{:?}" , self . lpPrintTemplateName ) ) . field ( "lpSetupTemplateName" , & format_args ! ( "{:?}" , self . lpSetupTemplateName ) ) . field ( "hPrintTemplate" , & format_args ! ( "{:?}" , self . hPrintTemplate ) ) . field ( "hSetupTemplate" , & format_args ! ( "{:?}" , self . hSetupTemplate ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRINTDLGW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hDevMode == other . hDevMode && self . hDevNames == other . hDevNames && self . hDC == other . hDC && self . Flags == other . Flags && self . nFromPage == other . nFromPage && self . nToPage == other . nToPage && self . nMinPage == other . nMinPage && self . nMaxPage == other . nMaxPage && self . nCopies == other . nCopies && self . hInstance == other . hInstance && self . lCustData == other . lCustData && self . lpfnPrintHook . map ( | f | f as usize ) == other . lpfnPrintHook . map ( | f | f as usize ) && self . lpfnSetupHook . map ( | f | f as usize ) == other . lpfnSetupHook . map ( | f | f as usize ) && self . lpPrintTemplateName == other . lpPrintTemplateName && self . lpSetupTemplateName == other . lpSetupTemplateName && self . hPrintTemplate == other . hPrintTemplate && self . hSetupTemplate == other . hSetupTemplate } } impl :: std :: cmp :: Eq for PRINTDLGW { } unsafe impl :: windows :: Abi for PRINTDLGW { type Abi = Self ; } pub const PS_OPENTYPE_FONTTYPE : u32 = 65536u32 ; pub const PWR_CRITICALRESUME : u32 = 3u32 ; pub const PWR_FAIL : i32 = -1i32 ; pub const PWR_OK : u32 = 1u32 ; pub const PWR_SUSPENDREQUEST : u32 = 1u32 ; pub const PWR_SUSPENDRESUME : u32 = 2u32 ; pub const PW_RENDERFULLCONTENT : u32 = 2u32 ; pub unsafe fn PageSetupDlgA < > ( param0 : * mut PAGESETUPDLGA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PageSetupDlgW < > ( param0 : * mut PAGESETUPDLGW , ) -> super :: SystemServices :: BOOL { panic ! ( "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 PeekMessage_wRemoveMsg ( pub u32 ) ; impl PeekMessage_wRemoveMsg { pub const PM_NOREMOVE : Self = Self ( 0u32 ) ; pub const PM_REMOVE : Self = Self ( 1u32 ) ; pub const PM_NOYIELD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for PeekMessage_wRemoveMsg { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PeekMessage_wRemoveMsg { type Abi = Self ; } impl :: std :: ops :: BitOr for PeekMessage_wRemoveMsg { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PeekMessage_wRemoveMsg { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PeekMessage_wRemoveMsg { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PeekMessage_wRemoveMsg { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn PeekMessageA < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PeekMessage_wRemoveMsg , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PeekMessageW < 'a , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( lpmsg : * mut MSG , hwnd : T1__ , wmsgfiltermin : u32 , wmsgfiltermax : u32 , wremovemsg : PeekMessage_wRemoveMsg , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PhysicalToLogicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lppoint : * mut super :: DisplayDevices :: POINT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostQuitMessage < > ( nexitcode : i32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostThreadMessageA < 'a , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( idthread : u32 , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PostThreadMessageW < 'a , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( idthread : u32 , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgA < > ( ppd : * mut PRINTDLGA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgExA < > ( ppd : * mut PRINTDLGEXA , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgExW < > ( ppd : * mut PRINTDLGEXW , ) -> :: windows :: ErrorCode { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrintDlgW < > ( ppd : * mut PRINTDLGW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrivateExtractIconsA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( szfilename : T0__ , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : * mut super :: MenusAndResources :: HICON , piconid : * mut u32 , nicons : u32 , flags : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn PrivateExtractIconsW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( szfilename : T0__ , niconindex : i32 , cxicon : i32 , cyicon : i32 , phicon : * mut super :: MenusAndResources :: HICON , piconid : * mut u32 , nicons : u32 , flags : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub const QS_POINTER : u32 = 4096u32 ; pub const QS_TOUCH : u32 = 2048u32 ; pub const RES_CURSOR : u32 = 2u32 ; pub const RES_ICON : u32 = 1u32 ; pub const RIDEV_EXMODEMASK : u32 = 240u32 ; pub const RIM_INPUT : u32 = 0u32 ; pub const RIM_INPUTSINK : u32 = 1u32 ; pub const RIM_TYPEMAX : u32 = 2u32 ; pub const RI_KEY_BREAK : u32 = 1u32 ; pub const RI_KEY_E0 : u32 = 2u32 ; pub const RI_KEY_E1 : u32 = 4u32 ; pub const RI_KEY_MAKE : u32 = 0u32 ; pub const RI_KEY_TERMSRV_SET_LED : u32 = 8u32 ; pub const RI_KEY_TERMSRV_SHADOW : u32 = 16u32 ; pub const RI_MOUSE_BUTTON_4_DOWN : u32 = 64u32 ; pub const RI_MOUSE_BUTTON_4_UP : u32 = 128u32 ; pub const RI_MOUSE_BUTTON_5_DOWN : u32 = 256u32 ; pub const RI_MOUSE_BUTTON_5_UP : u32 = 512u32 ; pub const RI_MOUSE_HWHEEL : u32 = 2048u32 ; pub const RI_MOUSE_LEFT_BUTTON_DOWN : u32 = 1u32 ; pub const RI_MOUSE_LEFT_BUTTON_UP : u32 = 2u32 ; pub const RI_MOUSE_MIDDLE_BUTTON_DOWN : u32 = 16u32 ; pub const RI_MOUSE_MIDDLE_BUTTON_UP : u32 = 32u32 ; pub const RI_MOUSE_RIGHT_BUTTON_DOWN : u32 = 4u32 ; pub const RI_MOUSE_RIGHT_BUTTON_UP : u32 = 8u32 ; pub const RI_MOUSE_WHEEL : u32 = 1024u32 ; pub const RT_ACCELERATOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 9i32 as _ ) ; pub const RT_ANICURSOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 21i32 as _ ) ; pub const RT_ANIICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 22i32 as _ ) ; pub const RT_BITMAP : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 2i32 as _ ) ; pub const RT_CURSOR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 1i32 as _ ) ; pub const RT_DIALOG : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 5i32 as _ ) ; pub const RT_DLGINCLUDE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 17i32 as _ ) ; pub const RT_FONT : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 8i32 as _ ) ; pub const RT_FONTDIR : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 7i32 as _ ) ; pub const RT_HTML : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 23i32 as _ ) ; pub const RT_ICON : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 3i32 as _ ) ; pub const RT_MANIFEST : u32 = 24u32 ; pub const RT_MENU : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 4i32 as _ ) ; pub const RT_MESSAGETABLE : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 11i32 as _ ) ; pub const RT_PLUGPLAY : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 19i32 as _ ) ; pub const RT_VERSION : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 16i32 as _ ) ; pub const RT_VXD : super :: SystemServices :: PWSTR = super :: SystemServices :: PWSTR ( 20i32 as _ ) ; pub unsafe fn RealChildWindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( hwndparent : T0__ , ptparentclientcoords : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RealGetWindowClassA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ptszclassname : super :: SystemServices :: PSTR , cchclassnamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RealGetWindowClassW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ptszclassname : super :: SystemServices :: PWSTR , cchclassnamemax : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassA < > ( lpwndclass : * const WNDCLASSA , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassExA < > ( param0 : * const WNDCLASSEXA , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassExW < > ( param0 : * const WNDCLASSEXW , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterClassW < > ( lpwndclass : * const WNDCLASSW , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterShellHookWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterWindowMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterWindowMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring : T0__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemovePropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn RemovePropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: HANDLE { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceTextA < > ( param0 : * mut FINDREPLACEA , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceTextW < > ( param0 : * mut FINDREPLACEW , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplyMessage < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: LRESULT > , > ( lresult : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const SBM_ENABLE_ARROWS : u32 = 228u32 ; pub const SBM_GETPOS : u32 = 225u32 ; pub const SBM_GETRANGE : u32 = 227u32 ; pub const SBM_GETSCROLLBARINFO : u32 = 235u32 ; pub const SBM_GETSCROLLINFO : u32 = 234u32 ; pub const SBM_SETPOS : u32 = 224u32 ; pub const SBM_SETRANGE : u32 = 226u32 ; pub const SBM_SETRANGEREDRAW : u32 = 230u32 ; pub const SBM_SETSCROLLINFO : u32 = 233u32 ; pub const SB_BOTTOM : u32 = 7u32 ; pub const SB_ENDSCROLL : u32 = 8u32 ; pub const SB_LEFT : u32 = 6u32 ; pub const SB_LINEDOWN : u32 = 1u32 ; pub const SB_LINELEFT : u32 = 0u32 ; pub const SB_LINERIGHT : u32 = 1u32 ; pub const SB_LINEUP : u32 = 0u32 ; pub const SB_PAGEDOWN : u32 = 3u32 ; pub const SB_PAGELEFT : u32 = 2u32 ; pub const SB_PAGERIGHT : u32 = 3u32 ; pub const SB_PAGEUP : u32 = 2u32 ; pub const SB_RIGHT : u32 = 7u32 ; pub const SB_THUMBPOSITION : u32 = 4u32 ; pub const SB_THUMBTRACK : u32 = 5u32 ; pub const SB_TOP : u32 = 6u32 ; pub const SCF_ISSECURE : u32 = 1u32 ; pub const SC_ARRANGE : u32 = 61712u32 ; pub const SC_CLOSE : u32 = 61536u32 ; pub const SC_CONTEXTHELP : u32 = 61824u32 ; pub const SC_DEFAULT : u32 = 61792u32 ; pub const SC_HOTKEY : u32 = 61776u32 ; pub const SC_HSCROLL : u32 = 61568u32 ; pub const SC_KEYMENU : u32 = 61696u32 ; pub const SC_MAXIMIZE : u32 = 61488u32 ; pub const SC_MINIMIZE : u32 = 61472u32 ; pub const SC_MONITORPOWER : u32 = 61808u32 ; pub const SC_MOUSEMENU : u32 = 61584u32 ; pub const SC_MOVE : u32 = 61456u32 ; pub const SC_NEXTWINDOW : u32 = 61504u32 ; pub const SC_PREVWINDOW : u32 = 61520u32 ; pub const SC_RESTORE : u32 = 61728u32 ; pub const SC_SCREENSAVE : u32 = 61760u32 ; pub const SC_SEPARATOR : u32 = 61455u32 ; pub const SC_SIZE : u32 = 61440u32 ; pub const SC_TASKLIST : u32 = 61744u32 ; pub const SC_VSCROLL : u32 = 61552u32 ; pub type SENDASYNCPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : usize , param3 : super :: SystemServices :: LRESULT ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SHELLHOOKINFO { pub hwnd : HWND , pub rc : super :: DisplayDevices :: RECT } impl SHELLHOOKINFO { } impl :: std :: default :: Default for SHELLHOOKINFO { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , rc : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHELLHOOKINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHELLHOOKINFO" ) . field ( "hwnd" , & format_args ! ( "{:?}" , self . hwnd ) ) . field ( "rc" , & format_args ! ( "{:?}" , self . rc ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHELLHOOKINFO { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . rc == other . rc } } impl :: std :: cmp :: Eq for SHELLHOOKINFO { } unsafe impl :: windows :: Abi for SHELLHOOKINFO { type Abi = Self ; } pub const SHOW_FULLSCREEN : u32 = 3u32 ; pub const SHOW_ICONWINDOW : u32 = 2u32 ; pub const SHOW_OPENNOACTIVATE : u32 = 4u32 ; pub const SHOW_OPENWINDOW : u32 = 1u32 ; pub const SIZE_MAXHIDE : u32 = 4u32 ; pub const SIZE_MAXIMIZED : u32 = 2u32 ; pub const SIZE_MAXSHOW : u32 = 3u32 ; pub const SIZE_MINIMIZED : u32 = 1u32 ; pub const SIZE_RESTORED : u32 = 0u32 ; pub const SM_CARETBLINKINGENABLED : u32 = 8194u32 ; pub const SM_CMETRICS : u32 = 76u32 ; pub const SM_RESERVED1 : u32 = 24u32 ; pub const SM_RESERVED2 : u32 = 25u32 ; pub const SM_RESERVED3 : u32 = 26u32 ; pub const SM_RESERVED4 : u32 = 27u32 ; pub const SM_SYSTEMDOCKED : u32 = 8196u32 ; pub const SOUND_SYSTEM_APPEND : u32 = 14u32 ; pub const SOUND_SYSTEM_APPSTART : u32 = 12u32 ; pub const SOUND_SYSTEM_BEEP : u32 = 3u32 ; pub const SOUND_SYSTEM_ERROR : u32 = 4u32 ; pub const SOUND_SYSTEM_FAULT : u32 = 13u32 ; pub const SOUND_SYSTEM_INFORMATION : u32 = 7u32 ; pub const SOUND_SYSTEM_MAXIMIZE : u32 = 8u32 ; pub const SOUND_SYSTEM_MENUCOMMAND : u32 = 15u32 ; pub const SOUND_SYSTEM_MENUPOPUP : u32 = 16u32 ; pub const SOUND_SYSTEM_MINIMIZE : u32 = 9u32 ; pub const SOUND_SYSTEM_QUESTION : u32 = 5u32 ; pub const SOUND_SYSTEM_RESTOREDOWN : u32 = 11u32 ; pub const SOUND_SYSTEM_RESTOREUP : u32 = 10u32 ; pub const SOUND_SYSTEM_SHUTDOWN : u32 = 2u32 ; pub const SOUND_SYSTEM_STARTUP : u32 = 1u32 ; pub const SOUND_SYSTEM_WARNING : u32 = 6u32 ; pub const START_PAGE_GENERAL : u32 = 4294967295u32 ; pub const STATE_SYSTEM_ALERT_HIGH : u32 = 268435456u32 ; pub const STATE_SYSTEM_ALERT_LOW : u32 = 67108864u32 ; pub const STATE_SYSTEM_ALERT_MEDIUM : u32 = 134217728u32 ; pub const STATE_SYSTEM_ANIMATED : u32 = 16384u32 ; pub const STATE_SYSTEM_BUSY : u32 = 2048u32 ; pub const STATE_SYSTEM_CHECKED : u32 = 16u32 ; pub const STATE_SYSTEM_COLLAPSED : u32 = 1024u32 ; pub const STATE_SYSTEM_DEFAULT : u32 = 256u32 ; pub const STATE_SYSTEM_EXPANDED : u32 = 512u32 ; pub const STATE_SYSTEM_EXTSELECTABLE : u32 = 33554432u32 ; pub const STATE_SYSTEM_FLOATING : u32 = 4096u32 ; pub const STATE_SYSTEM_FOCUSED : u32 = 4u32 ; pub const STATE_SYSTEM_HOTTRACKED : u32 = 128u32 ; pub const STATE_SYSTEM_LINKED : u32 = 4194304u32 ; pub const STATE_SYSTEM_MARQUEED : u32 = 8192u32 ; pub const STATE_SYSTEM_MIXED : u32 = 32u32 ; pub const STATE_SYSTEM_MOVEABLE : u32 = 262144u32 ; pub const STATE_SYSTEM_MULTISELECTABLE : u32 = 16777216u32 ; pub const STATE_SYSTEM_PROTECTED : u32 = 536870912u32 ; pub const STATE_SYSTEM_READONLY : u32 = 64u32 ; pub const STATE_SYSTEM_SELECTABLE : u32 = 2097152u32 ; pub const STATE_SYSTEM_SELECTED : u32 = 2u32 ; pub const STATE_SYSTEM_SELFVOICING : u32 = 524288u32 ; pub const STATE_SYSTEM_SIZEABLE : u32 = 131072u32 ; pub const STATE_SYSTEM_TRAVERSED : u32 = 8388608u32 ; pub const STATE_SYSTEM_VALID : u32 = 1073741823u32 ; pub const STM_GETICON : u32 = 369u32 ; pub const STM_GETIMAGE : u32 = 371u32 ; pub const STM_MSGMAX : u32 = 372u32 ; pub const STM_SETICON : u32 = 368u32 ; pub const STM_SETIMAGE : u32 = 370u32 ; pub const STN_CLICKED : u32 = 0u32 ; pub const STN_DBLCLK : u32 = 1u32 ; pub const STN_DISABLE : u32 = 3u32 ; pub const STN_ENABLE : u32 = 2u32 ; pub const STRSAFE_E_END_OF_FILE : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024858i32 as _ ) ; pub const STRSAFE_E_INSUFFICIENT_BUFFER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024774i32 as _ ) ; pub const STRSAFE_E_INVALID_PARAMETER : :: windows :: ErrorCode = :: windows :: ErrorCode ( -2147024809i32 as _ ) ; pub const STRSAFE_FILL_BEHIND_NULL : u32 = 512u32 ; pub const STRSAFE_FILL_ON_FAILURE : u32 = 1024u32 ; pub const STRSAFE_IGNORE_NULLS : u32 = 256u32 ; pub const STRSAFE_MAX_CCH : u32 = 2147483647u32 ; pub const STRSAFE_NO_TRUNCATION : u32 = 4096u32 ; pub const STRSAFE_NULL_ON_FAILURE : u32 = 2048u32 ; pub const STRSAFE_USE_SECURE_CRT : u32 = 0u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct STYLESTRUCT { pub styleOld : u32 , pub styleNew : u32 } impl STYLESTRUCT { } impl :: std :: default :: Default for STYLESTRUCT { fn default ( ) -> Self { Self { styleOld : 0 , styleNew : 0 } } } impl :: std :: fmt :: Debug for STYLESTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STYLESTRUCT" ) . field ( "styleOld" , & format_args ! ( "{:?}" , self . styleOld ) ) . field ( "styleNew" , & format_args ! ( "{:?}" , self . styleNew ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STYLESTRUCT { fn eq ( & self , other : & Self ) -> bool { self . styleOld == other . styleOld && self . styleNew == other . styleNew } } impl :: std :: cmp :: Eq for STYLESTRUCT { } unsafe impl :: windows :: Abi for STYLESTRUCT { type Abi = Self ; } pub const SYMBOL_FONTTYPE : u32 = 524288u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_PARAMETERS_INFO_ACTION ( pub u32 ) ; impl SYSTEM_PARAMETERS_INFO_ACTION { pub const SPI_GETBEEP : Self = Self ( 1u32 ) ; pub const SPI_SETBEEP : Self = Self ( 2u32 ) ; pub const SPI_GETMOUSE : Self = Self ( 3u32 ) ; pub const SPI_SETMOUSE : Self = Self ( 4u32 ) ; pub const SPI_GETBORDER : Self = Self ( 5u32 ) ; pub const SPI_SETBORDER : Self = Self ( 6u32 ) ; pub const SPI_GETKEYBOARDSPEED : Self = Self ( 10u32 ) ; pub const SPI_SETKEYBOARDSPEED : Self = Self ( 11u32 ) ; pub const SPI_LANGDRIVER : Self = Self ( 12u32 ) ; pub const SPI_ICONHORIZONTALSPACING : Self = Self ( 13u32 ) ; pub const SPI_GETSCREENSAVETIMEOUT : Self = Self ( 14u32 ) ; pub const SPI_SETSCREENSAVETIMEOUT : Self = Self ( 15u32 ) ; pub const SPI_GETSCREENSAVEACTIVE : Self = Self ( 16u32 ) ; pub const SPI_SETSCREENSAVEACTIVE : Self = Self ( 17u32 ) ; pub const SPI_GETGRIDGRANULARITY : Self = Self ( 18u32 ) ; pub const SPI_SETGRIDGRANULARITY : Self = Self ( 19u32 ) ; pub const SPI_SETDESKWALLPAPER : Self = Self ( 20u32 ) ; pub const SPI_SETDESKPATTERN : Self = Self ( 21u32 ) ; pub const SPI_GETKEYBOARDDELAY : Self = Self ( 22u32 ) ; pub const SPI_SETKEYBOARDDELAY : Self = Self ( 23u32 ) ; pub const SPI_ICONVERTICALSPACING : Self = Self ( 24u32 ) ; pub const SPI_GETICONTITLEWRAP : Self = Self ( 25u32 ) ; pub const SPI_SETICONTITLEWRAP : Self = Self ( 26u32 ) ; pub const SPI_GETMENUDROPALIGNMENT : Self = Self ( 27u32 ) ; pub const SPI_SETMENUDROPALIGNMENT : Self = Self ( 28u32 ) ; pub const SPI_SETDOUBLECLKWIDTH : Self = Self ( 29u32 ) ; pub const SPI_SETDOUBLECLKHEIGHT : Self = Self ( 30u32 ) ; pub const SPI_GETICONTITLELOGFONT : Self = Self ( 31u32 ) ; pub const SPI_SETDOUBLECLICKTIME : Self = Self ( 32u32 ) ; pub const SPI_SETMOUSEBUTTONSWAP : Self = Self ( 33u32 ) ; pub const SPI_SETICONTITLELOGFONT : Self = Self ( 34u32 ) ; pub const SPI_GETFASTTASKSWITCH : Self = Self ( 35u32 ) ; pub const SPI_SETFASTTASKSWITCH : Self = Self ( 36u32 ) ; pub const SPI_SETDRAGFULLWINDOWS : Self = Self ( 37u32 ) ; pub const SPI_GETDRAGFULLWINDOWS : Self = Self ( 38u32 ) ; pub const SPI_GETNONCLIENTMETRICS : Self = Self ( 41u32 ) ; pub const SPI_SETNONCLIENTMETRICS : Self = Self ( 42u32 ) ; pub const SPI_GETMINIMIZEDMETRICS : Self = Self ( 43u32 ) ; pub const SPI_SETMINIMIZEDMETRICS : Self = Self ( 44u32 ) ; pub const SPI_GETICONMETRICS : Self = Self ( 45u32 ) ; pub const SPI_SETICONMETRICS : Self = Self ( 46u32 ) ; pub const SPI_SETWORKAREA : Self = Self ( 47u32 ) ; pub const SPI_GETWORKAREA : Self = Self ( 48u32 ) ; pub const SPI_SETPENWINDOWS : Self = Self ( 49u32 ) ; pub const SPI_GETHIGHCONTRAST : Self = Self ( 66u32 ) ; pub const SPI_SETHIGHCONTRAST : Self = Self ( 67u32 ) ; pub const SPI_GETKEYBOARDPREF : Self = Self ( 68u32 ) ; pub const SPI_SETKEYBOARDPREF : Self = Self ( 69u32 ) ; pub const SPI_GETSCREENREADER : Self = Self ( 70u32 ) ; pub const SPI_SETSCREENREADER : Self = Self ( 71u32 ) ; pub const SPI_GETANIMATION : Self = Self ( 72u32 ) ; pub const SPI_SETANIMATION : Self = Self ( 73u32 ) ; pub const SPI_GETFONTSMOOTHING : Self = Self ( 74u32 ) ; pub const SPI_SETFONTSMOOTHING : Self = Self ( 75u32 ) ; pub const SPI_SETDRAGWIDTH : Self = Self ( 76u32 ) ; pub const SPI_SETDRAGHEIGHT : Self = Self ( 77u32 ) ; pub const SPI_SETHANDHELD : Self = Self ( 78u32 ) ; pub const SPI_GETLOWPOWERTIMEOUT : Self = Self ( 79u32 ) ; pub const SPI_GETPOWEROFFTIMEOUT : Self = Self ( 80u32 ) ; pub const SPI_SETLOWPOWERTIMEOUT : Self = Self ( 81u32 ) ; pub const SPI_SETPOWEROFFTIMEOUT : Self = Self ( 82u32 ) ; pub const SPI_GETLOWPOWERACTIVE : Self = Self ( 83u32 ) ; pub const SPI_GETPOWEROFFACTIVE : Self = Self ( 84u32 ) ; pub const SPI_SETLOWPOWERACTIVE : Self = Self ( 85u32 ) ; pub const SPI_SETPOWEROFFACTIVE : Self = Self ( 86u32 ) ; pub const SPI_SETCURSORS : Self = Self ( 87u32 ) ; pub const SPI_SETICONS : Self = Self ( 88u32 ) ; pub const SPI_GETDEFAULTINPUTLANG : Self = Self ( 89u32 ) ; pub const SPI_SETDEFAULTINPUTLANG : Self = Self ( 90u32 ) ; pub const SPI_SETLANGTOGGLE : Self = Self ( 91u32 ) ; pub const SPI_GETWINDOWSEXTENSION : Self = Self ( 92u32 ) ; pub const SPI_SETMOUSETRAILS : Self = Self ( 93u32 ) ; pub const SPI_GETMOUSETRAILS : Self = Self ( 94u32 ) ; pub const SPI_SETSCREENSAVERRUNNING : Self = Self ( 97u32 ) ; pub const SPI_SCREENSAVERRUNNING : Self = Self ( 97u32 ) ; pub const SPI_GETFILTERKEYS : Self = Self ( 50u32 ) ; pub const SPI_SETFILTERKEYS : Self = Self ( 51u32 ) ; pub const SPI_GETTOGGLEKEYS : Self = Self ( 52u32 ) ; pub const SPI_SETTOGGLEKEYS : Self = Self ( 53u32 ) ; pub const SPI_GETMOUSEKEYS : Self = Self ( 54u32 ) ; pub const SPI_SETMOUSEKEYS : Self = Self ( 55u32 ) ; pub const SPI_GETSHOWSOUNDS : Self = Self ( 56u32 ) ; pub const SPI_SETSHOWSOUNDS : Self = Self ( 57u32 ) ; pub const SPI_GETSTICKYKEYS : Self = Self ( 58u32 ) ; pub const SPI_SETSTICKYKEYS : Self = Self ( 59u32 ) ; pub const SPI_GETACCESSTIMEOUT : Self = Self ( 60u32 ) ; pub const SPI_SETACCESSTIMEOUT : Self = Self ( 61u32 ) ; pub const SPI_GETSERIALKEYS : Self = Self ( 62u32 ) ; pub const SPI_SETSERIALKEYS : Self = Self ( 63u32 ) ; pub const SPI_GETSOUNDSENTRY : Self = Self ( 64u32 ) ; pub const SPI_SETSOUNDSENTRY : Self = Self ( 65u32 ) ; pub const SPI_GETSNAPTODEFBUTTON : Self = Self ( 95u32 ) ; pub const SPI_SETSNAPTODEFBUTTON : Self = Self ( 96u32 ) ; pub const SPI_GETMOUSEHOVERWIDTH : Self = Self ( 98u32 ) ; pub const SPI_SETMOUSEHOVERWIDTH : Self = Self ( 99u32 ) ; pub const SPI_GETMOUSEHOVERHEIGHT : Self = Self ( 100u32 ) ; pub const SPI_SETMOUSEHOVERHEIGHT : Self = Self ( 101u32 ) ; pub const SPI_GETMOUSEHOVERTIME : Self = Self ( 102u32 ) ; pub const SPI_SETMOUSEHOVERTIME : Self = Self ( 103u32 ) ; pub const SPI_GETWHEELSCROLLLINES : Self = Self ( 104u32 ) ; pub const SPI_SETWHEELSCROLLLINES : Self = Self ( 105u32 ) ; pub const SPI_GETMENUSHOWDELAY : Self = Self ( 106u32 ) ; pub const SPI_SETMENUSHOWDELAY : Self = Self ( 107u32 ) ; pub const SPI_GETWHEELSCROLLCHARS : Self = Self ( 108u32 ) ; pub const SPI_SETWHEELSCROLLCHARS : Self = Self ( 109u32 ) ; pub const SPI_GETSHOWIMEUI : Self = Self ( 110u32 ) ; pub const SPI_SETSHOWIMEUI : Self = Self ( 111u32 ) ; pub const SPI_GETMOUSESPEED : Self = Self ( 112u32 ) ; pub const SPI_SETMOUSESPEED : Self = Self ( 113u32 ) ; pub const SPI_GETSCREENSAVERRUNNING : Self = Self ( 114u32 ) ; pub const SPI_GETDESKWALLPAPER : Self = Self ( 115u32 ) ; pub const SPI_GETAUDIODESCRIPTION : Self = Self ( 116u32 ) ; pub const SPI_SETAUDIODESCRIPTION : Self = Self ( 117u32 ) ; pub const SPI_GETSCREENSAVESECURE : Self = Self ( 118u32 ) ; pub const SPI_SETSCREENSAVESECURE : Self = Self ( 119u32 ) ; pub const SPI_GETHUNGAPPTIMEOUT : Self = Self ( 120u32 ) ; pub const SPI_SETHUNGAPPTIMEOUT : Self = Self ( 121u32 ) ; pub const SPI_GETWAITTOKILLTIMEOUT : Self = Self ( 122u32 ) ; pub const SPI_SETWAITTOKILLTIMEOUT : Self = Self ( 123u32 ) ; pub const SPI_GETWAITTOKILLSERVICETIMEOUT : Self = Self ( 124u32 ) ; pub const SPI_SETWAITTOKILLSERVICETIMEOUT : Self = Self ( 125u32 ) ; pub const SPI_GETMOUSEDOCKTHRESHOLD : Self = Self ( 126u32 ) ; pub const SPI_SETMOUSEDOCKTHRESHOLD : Self = Self ( 127u32 ) ; pub const SPI_GETPENDOCKTHRESHOLD : Self = Self ( 128u32 ) ; pub const SPI_SETPENDOCKTHRESHOLD : Self = Self ( 129u32 ) ; pub const SPI_GETWINARRANGING : Self = Self ( 130u32 ) ; pub const SPI_SETWINARRANGING : Self = Self ( 131u32 ) ; pub const SPI_GETMOUSEDRAGOUTTHRESHOLD : Self = Self ( 132u32 ) ; pub const SPI_SETMOUSEDRAGOUTTHRESHOLD : Self = Self ( 133u32 ) ; pub const SPI_GETPENDRAGOUTTHRESHOLD : Self = Self ( 134u32 ) ; pub const SPI_SETPENDRAGOUTTHRESHOLD : Self = Self ( 135u32 ) ; pub const SPI_GETMOUSESIDEMOVETHRESHOLD : Self = Self ( 136u32 ) ; pub const SPI_SETMOUSESIDEMOVETHRESHOLD : Self = Self ( 137u32 ) ; pub const SPI_GETPENSIDEMOVETHRESHOLD : Self = Self ( 138u32 ) ; pub const SPI_SETPENSIDEMOVETHRESHOLD : Self = Self ( 139u32 ) ; pub const SPI_GETDRAGFROMMAXIMIZE : Self = Self ( 140u32 ) ; pub const SPI_SETDRAGFROMMAXIMIZE : Self = Self ( 141u32 ) ; pub const SPI_GETSNAPSIZING : Self = Self ( 142u32 ) ; pub const SPI_SETSNAPSIZING : Self = Self ( 143u32 ) ; pub const SPI_GETDOCKMOVING : Self = Self ( 144u32 ) ; pub const SPI_SETDOCKMOVING : Self = Self ( 145u32 ) ; pub const SPI_GETTOUCHPREDICTIONPARAMETERS : Self = Self ( 156u32 ) ; pub const SPI_SETTOUCHPREDICTIONPARAMETERS : Self = Self ( 157u32 ) ; pub const SPI_GETLOGICALDPIOVERRIDE : Self = Self ( 158u32 ) ; pub const SPI_SETLOGICALDPIOVERRIDE : Self = Self ( 159u32 ) ; pub const SPI_GETMENURECT : Self = Self ( 162u32 ) ; pub const SPI_SETMENURECT : Self = Self ( 163u32 ) ; pub const SPI_GETACTIVEWINDOWTRACKING : Self = Self ( 4096u32 ) ; pub const SPI_SETACTIVEWINDOWTRACKING : Self = Self ( 4097u32 ) ; pub const SPI_GETMENUANIMATION : Self = Self ( 4098u32 ) ; pub const SPI_SETMENUANIMATION : Self = Self ( 4099u32 ) ; pub const SPI_GETCOMBOBOXANIMATION : Self = Self ( 4100u32 ) ; pub const SPI_SETCOMBOBOXANIMATION : Self = Self ( 4101u32 ) ; pub const SPI_GETLISTBOXSMOOTHSCROLLING : Self = Self ( 4102u32 ) ; pub const SPI_SETLISTBOXSMOOTHSCROLLING : Self = Self ( 4103u32 ) ; pub const SPI_GETGRADIENTCAPTIONS : Self = Self ( 4104u32 ) ; pub const SPI_SETGRADIENTCAPTIONS : Self = Self ( 4105u32 ) ; pub const SPI_GETKEYBOARDCUES : Self = Self ( 4106u32 ) ; pub const SPI_SETKEYBOARDCUES : Self = Self ( 4107u32 ) ; pub const SPI_GETMENUUNDERLINES : Self = Self ( 4106u32 ) ; pub const SPI_SETMENUUNDERLINES : Self = Self ( 4107u32 ) ; pub const SPI_GETACTIVEWNDTRKZORDER : Self = Self ( 4108u32 ) ; pub const SPI_SETACTIVEWNDTRKZORDER : Self = Self ( 4109u32 ) ; pub const SPI_GETHOTTRACKING : Self = Self ( 4110u32 ) ; pub const SPI_SETHOTTRACKING : Self = Self ( 4111u32 ) ; pub const SPI_GETMENUFADE : Self = Self ( 4114u32 ) ; pub const SPI_SETMENUFADE : Self = Self ( 4115u32 ) ; pub const SPI_GETSELECTIONFADE : Self = Self ( 4116u32 ) ; pub const SPI_SETSELECTIONFADE : Self = Self ( 4117u32 ) ; pub const SPI_GETTOOLTIPANIMATION : Self = Self ( 4118u32 ) ; pub const SPI_SETTOOLTIPANIMATION : Self = Self ( 4119u32 ) ; pub const SPI_GETTOOLTIPFADE : Self = Self ( 4120u32 ) ; pub const SPI_SETTOOLTIPFADE : Self = Self ( 4121u32 ) ; pub const SPI_GETCURSORSHADOW : Self = Self ( 4122u32 ) ; pub const SPI_SETCURSORSHADOW : Self = Self ( 4123u32 ) ; pub const SPI_GETMOUSESONAR : Self = Self ( 4124u32 ) ; pub const SPI_SETMOUSESONAR : Self = Self ( 4125u32 ) ; pub const SPI_GETMOUSECLICKLOCK : Self = Self ( 4126u32 ) ; pub const SPI_SETMOUSECLICKLOCK : Self = Self ( 4127u32 ) ; pub const SPI_GETMOUSEVANISH : Self = Self ( 4128u32 ) ; pub const SPI_SETMOUSEVANISH : Self = Self ( 4129u32 ) ; pub const SPI_GETFLATMENU : Self = Self ( 4130u32 ) ; pub const SPI_SETFLATMENU : Self = Self ( 4131u32 ) ; pub const SPI_GETDROPSHADOW : Self = Self ( 4132u32 ) ; pub const SPI_SETDROPSHADOW : Self = Self ( 4133u32 ) ; pub const SPI_GETBLOCKSENDINPUTRESETS : Self = Self ( 4134u32 ) ; pub const SPI_SETBLOCKSENDINPUTRESETS : Self = Self ( 4135u32 ) ; pub const SPI_GETUIEFFECTS : Self = Self ( 4158u32 ) ; pub const SPI_SETUIEFFECTS : Self = Self ( 4159u32 ) ; pub const SPI_GETDISABLEOVERLAPPEDCONTENT : Self = Self ( 4160u32 ) ; pub const SPI_SETDISABLEOVERLAPPEDCONTENT : Self = Self ( 4161u32 ) ; pub const SPI_GETCLIENTAREAANIMATION : Self = Self ( 4162u32 ) ; pub const SPI_SETCLIENTAREAANIMATION : Self = Self ( 4163u32 ) ; pub const SPI_GETCLEARTYPE : Self = Self ( 4168u32 ) ; pub const SPI_SETCLEARTYPE : Self = Self ( 4169u32 ) ; pub const SPI_GETSPEECHRECOGNITION : Self = Self ( 4170u32 ) ; pub const SPI_SETSPEECHRECOGNITION : Self = Self ( 4171u32 ) ; pub const SPI_GETCARETBROWSING : Self = Self ( 4172u32 ) ; pub const SPI_SETCARETBROWSING : Self = Self ( 4173u32 ) ; pub const SPI_GETTHREADLOCALINPUTSETTINGS : Self = Self ( 4174u32 ) ; pub const SPI_SETTHREADLOCALINPUTSETTINGS : Self = Self ( 4175u32 ) ; pub const SPI_GETSYSTEMLANGUAGEBAR : Self = Self ( 4176u32 ) ; pub const SPI_SETSYSTEMLANGUAGEBAR : Self = Self ( 4177u32 ) ; pub const SPI_GETFOREGROUNDLOCKTIMEOUT : Self = Self ( 8192u32 ) ; pub const SPI_SETFOREGROUNDLOCKTIMEOUT : Self = Self ( 8193u32 ) ; pub const SPI_GETACTIVEWNDTRKTIMEOUT : Self = Self ( 8194u32 ) ; pub const SPI_SETACTIVEWNDTRKTIMEOUT : Self = Self ( 8195u32 ) ; pub const SPI_GETFOREGROUNDFLASHCOUNT : Self = Self ( 8196u32 ) ; pub const SPI_SETFOREGROUNDFLASHCOUNT : Self = Self ( 8197u32 ) ; pub const SPI_GETCARETWIDTH : Self = Self ( 8198u32 ) ; pub const SPI_SETCARETWIDTH : Self = Self ( 8199u32 ) ; pub const SPI_GETMOUSECLICKLOCKTIME : Self = Self ( 8200u32 ) ; pub const SPI_SETMOUSECLICKLOCKTIME : Self = Self ( 8201u32 ) ; pub const SPI_GETFONTSMOOTHINGTYPE : Self = Self ( 8202u32 ) ; pub const SPI_SETFONTSMOOTHINGTYPE : Self = Self ( 8203u32 ) ; pub const SPI_GETFONTSMOOTHINGCONTRAST : Self = Self ( 8204u32 ) ; pub const SPI_SETFONTSMOOTHINGCONTRAST : Self = Self ( 8205u32 ) ; pub const SPI_GETFOCUSBORDERWIDTH : Self = Self ( 8206u32 ) ; pub const SPI_SETFOCUSBORDERWIDTH : Self = Self ( 8207u32 ) ; pub const SPI_GETFOCUSBORDERHEIGHT : Self = Self ( 8208u32 ) ; pub const SPI_SETFOCUSBORDERHEIGHT : Self = Self ( 8209u32 ) ; pub const SPI_GETFONTSMOOTHINGORIENTATION : Self = Self ( 8210u32 ) ; pub const SPI_SETFONTSMOOTHINGORIENTATION : Self = Self ( 8211u32 ) ; pub const SPI_GETMINIMUMHITRADIUS : Self = Self ( 8212u32 ) ; pub const SPI_SETMINIMUMHITRADIUS : Self = Self ( 8213u32 ) ; pub const SPI_GETMESSAGEDURATION : Self = Self ( 8214u32 ) ; pub const SPI_SETMESSAGEDURATION : Self = Self ( 8215u32 ) ; pub const SPI_GETCONTACTVISUALIZATION : Self = Self ( 8216u32 ) ; pub const SPI_SETCONTACTVISUALIZATION : Self = Self ( 8217u32 ) ; pub const SPI_GETGESTUREVISUALIZATION : Self = Self ( 8218u32 ) ; pub const SPI_SETGESTUREVISUALIZATION : Self = Self ( 8219u32 ) ; pub const SPI_GETMOUSEWHEELROUTING : Self = Self ( 8220u32 ) ; pub const SPI_SETMOUSEWHEELROUTING : Self = Self ( 8221u32 ) ; pub const SPI_GETPENVISUALIZATION : Self = Self ( 8222u32 ) ; pub const SPI_SETPENVISUALIZATION : Self = Self ( 8223u32 ) ; pub const SPI_GETPENARBITRATIONTYPE : Self = Self ( 8224u32 ) ; pub const SPI_SETPENARBITRATIONTYPE : Self = Self ( 8225u32 ) ; pub const SPI_GETCARETTIMEOUT : Self = Self ( 8226u32 ) ; pub const SPI_SETCARETTIMEOUT : Self = Self ( 8227u32 ) ; pub const SPI_GETHANDEDNESS : Self = Self ( 8228u32 ) ; pub const SPI_SETHANDEDNESS : Self = Self ( 8229u32 ) ; } impl :: std :: convert :: From < u32 > for SYSTEM_PARAMETERS_INFO_ACTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_PARAMETERS_INFO_ACTION { type Abi = Self ; } impl :: std :: ops :: BitOr for SYSTEM_PARAMETERS_INFO_ACTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SYSTEM_PARAMETERS_INFO_ACTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SYSTEM_PARAMETERS_INFO_ACTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SYSTEM_PARAMETERS_INFO_ACTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SendDlgItemMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , niddlgitem : i32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendDlgItemMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , WPARAM > , T4__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hdlg : T0__ , niddlgitem : i32 , msg : u32 , wparam : T3__ , lparam : T4__ , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , msg : u32 , wparam : WPARAM , lparam : LPARAM , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageCallbackA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , lpresultcallback : :: std :: option :: Option < SENDASYNCPROC > , dwdata : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageCallbackW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , lpresultcallback : :: std :: option :: Option < SENDASYNCPROC > , dwdata : usize , ) -> super :: SystemServices :: BOOL { panic ! ( "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 SendMessageTimeout_fuFlags ( pub u32 ) ; impl SendMessageTimeout_fuFlags { pub const SMTO_ABORTIFHUNG : Self = Self ( 2u32 ) ; pub const SMTO_BLOCK : Self = Self ( 1u32 ) ; pub const SMTO_NORMAL : Self = Self ( 0u32 ) ; pub const SMTO_NOTIMEOUTIFNOTHUNG : Self = Self ( 8u32 ) ; pub const SMTO_ERRORONEXIT : Self = Self ( 32u32 ) ; } impl :: std :: convert :: From < u32 > for SendMessageTimeout_fuFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SendMessageTimeout_fuFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SendMessageTimeout_fuFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SendMessageTimeout_fuFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SendMessageTimeout_fuFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SendMessageTimeout_fuFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SendMessageTimeoutA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , fuflags : SendMessageTimeout_fuFlags , utimeout : u32 , lpdwresult : * mut usize , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageTimeoutW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , fuflags : SendMessageTimeout_fuFlags , utimeout : u32 , lpdwresult : * mut usize , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , msg : u32 , wparam : WPARAM , lparam : LPARAM , ) -> super :: SystemServices :: LRESULT { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendNotifyMessageA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SendNotifyMessageW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , WPARAM > , T3__ : :: windows :: IntoParam < 'a , LPARAM > , > ( hwnd : T0__ , msg : u32 , wparam : T2__ , lparam : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCaretBlinkTime < > ( umseconds : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCaretPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : isize , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : isize , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : GetClassLong_nIndex , dwnewlong : i32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetClassWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , wnewword : u16 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub type TIMERPROC = extern "system" fn ( param0 : HWND , param1 : u32 , param2 : usize , param3 : u32 ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SetCoalescableTimer_uToleranceDelayFlags ( pub u32 ) ; impl SetCoalescableTimer_uToleranceDelayFlags { pub const TIMERV_DEFAULT_COALESCING : Self = Self ( 0u32 ) ; pub const TIMERV_NO_COALESCING : Self = Self ( 4294967295u32 ) ; } impl :: std :: convert :: From < u32 > for SetCoalescableTimer_uToleranceDelayFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetCoalescableTimer_uToleranceDelayFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetCoalescableTimer_uToleranceDelayFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetCoalescableTimer_uToleranceDelayFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetCoalescableTimer_uToleranceDelayFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetCoalescableTimer_uToleranceDelayFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetCoalescableTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nidevent : usize , uelapse : u32 , lptimerfunc : :: std :: option :: Option < TIMERPROC > , utolerancedelay : SetCoalescableTimer_uToleranceDelayFlags , ) -> usize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcursor : T0__ , ) -> super :: MenusAndResources :: HCURSOR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCursorPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDebugErrorLevel < > ( dwlevel : u32 , ) { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemInt < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hdlg : T0__ , niddlgitem : i32 , uvalue : u32 , bsigned : T3__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetDlgItemTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hdlg : T0__ , niddlgitem : i32 , lpstring : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetForegroundWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLayeredWindowAttributes < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , crkey : u32 , balpha : u8 , dwflags : SetLayeredWindowAttributes_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenu < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hwnd : T0__ , hmenu : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuDefaultItem < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( hmenu : T0__ , uitem : u32 , fbypos : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuInfo < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , > ( param0 : T0__ , param1 : * mut MENUINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemBitmaps < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T3__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HBITMAP > , > ( hmenu : T0__ , uposition : u32 , uflags : MENU_ITEM_FLAGS , hbitmapunchecked : T3__ , hbitmapchecked : T4__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemInfoA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbypositon : T2__ , lpmii : * mut MENUITEMINFOA , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMenuItemInfoW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hmenu : T0__ , item : u32 , fbypositon : T2__ , lpmii : * mut MENUITEMINFOW , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMessageExtraInfo < 'a , T0__ : :: windows :: IntoParam < 'a , LPARAM > , > ( lparam : T0__ , ) -> LPARAM { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetMessageQueue < > ( cmessagesmax : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetParent < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndchild : T0__ , hwndnewparent : T1__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPhysicalCursorPos < > ( x : i32 , y : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDPIAware < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDefaultLayout < > ( dwdefaultlayout : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPropA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hwnd : T0__ , lpstring : T1__ , hdata : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPropW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , > ( hwnd : T0__ , lpstring : T1__ , hdata : T2__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSysColors < > ( celements : i32 , lpaelements : * const i32 , lpargbvalues : * const u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "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 SetSystemCursor_idFlags ( pub u32 ) ; impl SetSystemCursor_idFlags { pub const OCR_APPSTARTING : Self = Self ( 32650u32 ) ; pub const OCR_NORMAL : Self = Self ( 32512u32 ) ; pub const OCR_CROSS : Self = Self ( 32515u32 ) ; pub const OCR_HAND : Self = Self ( 32649u32 ) ; pub const OCR_HELP : Self = Self ( 32651u32 ) ; pub const OCR_IBEAM : Self = Self ( 32513u32 ) ; pub const OCR_NO : Self = Self ( 32648u32 ) ; pub const OCR_SIZEALL : Self = Self ( 32646u32 ) ; pub const OCR_SIZENESW : Self = Self ( 32643u32 ) ; pub const OCR_SIZENS : Self = Self ( 32645u32 ) ; pub const OCR_SIZENWSE : Self = Self ( 32642u32 ) ; pub const OCR_SIZEWE : Self = Self ( 32644u32 ) ; pub const OCR_UP : Self = Self ( 32516u32 ) ; pub const OCR_WAIT : Self = Self ( 32514u32 ) ; } impl :: std :: convert :: From < u32 > for SetSystemCursor_idFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetSystemCursor_idFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetSystemCursor_idFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetSystemCursor_idFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetSystemCursor_idFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetSystemCursor_idFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetSystemCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HCURSOR > , > ( hcur : T0__ , id : SetSystemCursor_idFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTimer < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nidevent : usize , uelapse : u32 , lptimerfunc : :: std :: option :: Option < TIMERPROC > , ) -> usize { panic ! ( "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 SetWindowDisplayAffinity_dwAffinityFlags ( pub u32 ) ; impl SetWindowDisplayAffinity_dwAffinityFlags { pub const WDA_NONE : Self = Self ( 0u32 ) ; pub const WDA_MONITOR : Self = Self ( 1u32 ) ; pub const WDA_EXCLUDEFROMCAPTURE : Self = Self ( 17u32 ) ; } impl :: std :: convert :: From < u32 > for SetWindowDisplayAffinity_dwAffinityFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowDisplayAffinity_dwAffinityFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for SetWindowDisplayAffinity_dwAffinityFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SetWindowDisplayAffinity_dwAffinityFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SetWindowDisplayAffinity_dwAffinityFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SetWindowDisplayAffinity_dwAffinityFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SetWindowDisplayAffinity < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , dwaffinity : SetWindowDisplayAffinity_dwAffinityFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongPtrA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongPtrW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : isize , ) -> isize { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowLongW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : WINDOW_LONG_PTR_INDEX , dwnewlong : i32 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowPlacement < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , lpwndpl : * const WINDOWPLACEMENT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowPos < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , hwndinsertafter : T1__ , x : i32 , y : i32 , cx : i32 , cy : i32 , uflags : SetWindowPos_uFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowTextA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowTextW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hwnd : T0__ , lpstring : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowWord < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , nindex : i32 , wnewword : u16 , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookA < > ( nfiltertype : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> HHOOK { panic ! ( "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 SetWindowsHookEx_idHook ( pub i32 ) ; impl SetWindowsHookEx_idHook { pub const WH_CALLWNDPROC : Self = Self ( 4i32 ) ; pub const WH_CALLWNDPROCRET : Self = Self ( 12i32 ) ; pub const WH_CBT : Self = Self ( 5i32 ) ; pub const WH_DEBUG : Self = Self ( 9i32 ) ; pub const WH_FOREGROUNDIDLE : Self = Self ( 11i32 ) ; pub const WH_GETMESSAGE : Self = Self ( 3i32 ) ; pub const WH_JOURNALPLAYBACK : Self = Self ( 1i32 ) ; pub const WH_JOURNALRECORD : Self = Self ( 0i32 ) ; pub const WH_KEYBOARD : Self = Self ( 2i32 ) ; pub const WH_KEYBOARD_LL : Self = Self ( 13i32 ) ; pub const WH_MOUSE : Self = Self ( 7i32 ) ; pub const WH_MOUSE_LL : Self = Self ( 14i32 ) ; pub const WH_MSGFILTER : Self = Self ( -1i32 ) ; pub const WH_SHELL : Self = Self ( 10i32 ) ; pub const WH_SYSMSGFILTER : Self = Self ( 6i32 ) ; } impl :: std :: convert :: From < i32 > for SetWindowsHookEx_idHook { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SetWindowsHookEx_idHook { type Abi = Self ; } pub unsafe fn SetWindowsHookExA < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( idhook : SetWindowsHookEx_idHook , lpfn : :: std :: option :: Option < HOOKPROC > , hmod : T2__ , dwthreadid : u32 , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookExW < 'a , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( idhook : SetWindowsHookEx_idHook , lpfn : :: std :: option :: Option < HOOKPROC > , hmod : T2__ , dwthreadid : u32 , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWindowsHookW < > ( nfiltertype : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> HHOOK { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowCaret < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowCursor < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( bshow : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowOwnedPopups < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , fshow : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ncmdshow : SHOW_WINDOW_CMD , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn ShowWindowAsync < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , ncmdshow : i32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SizeofResource < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HRSRC > , > ( hmodule : isize , hresinfo : T1__ , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SoundSentry < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SwitchToThisWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: BOOL > , > ( hwnd : T0__ , funknown : T1__ , ) { panic ! ( "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 SystemParametersInfo_fWinIni ( pub u32 ) ; impl SystemParametersInfo_fWinIni { pub const SPIF_UPDATEINIFILE : Self = Self ( 1u32 ) ; pub const SPIF_SENDCHANGE : Self = Self ( 2u32 ) ; pub const SPIF_SENDWININICHANGE : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for SystemParametersInfo_fWinIni { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SystemParametersInfo_fWinIni { type Abi = Self ; } impl :: std :: ops :: BitOr for SystemParametersInfo_fWinIni { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SystemParametersInfo_fWinIni { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SystemParametersInfo_fWinIni { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SystemParametersInfo_fWinIni { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn SystemParametersInfoA < > ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : * mut :: std :: ffi :: c_void , fwinini : SystemParametersInfo_fWinIni , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn SystemParametersInfoW < > ( uiaction : SYSTEM_PARAMETERS_INFO_ACTION , uiparam : u32 , pvparam : * mut :: std :: ffi :: c_void , fwinini : SystemParametersInfo_fWinIni , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const TIMERV_COALESCING_MAX : u32 = 2147483637u32 ; pub const TIMERV_COALESCING_MIN : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TITLEBARINFOEX { pub cbSize : u32 , pub rcTitleBar : super :: DisplayDevices :: RECT , pub rgstate : [ u32 ;6 ] , pub rgrect : [ super :: DisplayDevices :: RECT ;6 ] } impl TITLEBARINFOEX { } impl :: std :: default :: Default for TITLEBARINFOEX { fn default ( ) -> Self { Self { cbSize : 0 , rcTitleBar : :: std :: default :: Default :: default ( ) , rgstate : [ 0 ;6 ] , rgrect : [ :: std :: default :: Default :: default ( ) ;6 ] } } } impl :: std :: fmt :: Debug for TITLEBARINFOEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TITLEBARINFOEX" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcTitleBar" , & format_args ! ( "{:?}" , self . rcTitleBar ) ) . field ( "rgstate" , & format_args ! ( "{:?}" , self . rgstate ) ) . field ( "rgrect" , & format_args ! ( "{:?}" , self . rgrect ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TITLEBARINFOEX { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcTitleBar == other . rcTitleBar && self . rgstate == other . rgstate && self . rgrect == other . rgrect } } impl :: std :: cmp :: Eq for TITLEBARINFOEX { } unsafe impl :: windows :: Abi for TITLEBARINFOEX { type Abi = Self ; } pub const TKF_AVAILABLE : u32 = 2u32 ; pub const TKF_CONFIRMHOTKEY : u32 = 8u32 ; pub const TKF_HOTKEYACTIVE : u32 = 4u32 ; pub const TKF_HOTKEYSOUND : u32 = 16u32 ; pub const TKF_INDICATOR : u32 = 32u32 ; pub const TKF_TOGGLEKEYSON : u32 = 1u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_LATENCY : u32 = 8u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_DELTA : f32 = 0.001f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_EXPO_SMOOTH_ALPHA : f32 = 0.99f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_LEARNING_RATE : f32 = 0.001f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_MAX : f32 = 0.999f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_RLS_LAMBDA_MIN : f32 = 0.9f32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_SAMPLETIME : u32 = 8u32 ; pub const TOUCHPREDICTIONPARAMETERS_DEFAULT_USE_HW_TIMESTAMP : u32 = 1u32 ; pub const TOUCH_FLAG_NONE : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_CLIENT : u32 = 1u32 ; pub const TOUCH_HIT_TESTING_DEFAULT : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_NONE : u32 = 2u32 ; pub const TOUCH_HIT_TESTING_PROXIMITY_CLOSEST : u32 = 0u32 ; pub const TOUCH_HIT_TESTING_PROXIMITY_FARTHEST : u32 = 4095u32 ; pub const TOUCH_MASK_CONTACTAREA : u32 = 1u32 ; pub const TOUCH_MASK_NONE : u32 = 0u32 ; pub const TOUCH_MASK_ORIENTATION : u32 = 2u32 ; pub const TOUCH_MASK_PRESSURE : u32 = 4u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TPMPARAMS { pub cbSize : u32 , pub rcExclude : super :: DisplayDevices :: RECT } impl TPMPARAMS { } impl :: std :: default :: Default for TPMPARAMS { fn default ( ) -> Self { Self { cbSize : 0 , rcExclude : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TPMPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TPMPARAMS" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "rcExclude" , & format_args ! ( "{:?}" , self . rcExclude ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TPMPARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . rcExclude == other . rcExclude } } impl :: std :: cmp :: Eq for TPMPARAMS { } unsafe impl :: windows :: Abi for TPMPARAMS { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRACK_POPUP_MENU_FLAGS ( pub u32 ) ; impl TRACK_POPUP_MENU_FLAGS { pub const TPM_LEFTBUTTON : Self = Self ( 0u32 ) ; pub const TPM_RIGHTBUTTON : Self = Self ( 2u32 ) ; pub const TPM_LEFTALIGN : Self = Self ( 0u32 ) ; pub const TPM_CENTERALIGN : Self = Self ( 4u32 ) ; pub const TPM_RIGHTALIGN : Self = Self ( 8u32 ) ; pub const TPM_TOPALIGN : Self = Self ( 0u32 ) ; pub const TPM_VCENTERALIGN : Self = Self ( 16u32 ) ; pub const TPM_BOTTOMALIGN : Self = Self ( 32u32 ) ; pub const TPM_HORIZONTAL : Self = Self ( 0u32 ) ; pub const TPM_VERTICAL : Self = Self ( 64u32 ) ; pub const TPM_NONOTIFY : Self = Self ( 128u32 ) ; pub const TPM_RETURNCMD : Self = Self ( 256u32 ) ; pub const TPM_RECURSE : Self = Self ( 1u32 ) ; pub const TPM_HORPOSANIMATION : Self = Self ( 1024u32 ) ; pub const TPM_HORNEGANIMATION : Self = Self ( 2048u32 ) ; pub const TPM_VERPOSANIMATION : Self = Self ( 4096u32 ) ; pub const TPM_VERNEGANIMATION : Self = Self ( 8192u32 ) ; pub const TPM_NOANIMATION : Self = Self ( 16384u32 ) ; pub const TPM_LAYOUTRTL : Self = Self ( 32768u32 ) ; pub const TPM_WORKAREA : Self = Self ( 65536u32 ) ; } impl :: std :: convert :: From < u32 > for TRACK_POPUP_MENU_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRACK_POPUP_MENU_FLAGS { type Abi = Self ; } impl :: std :: ops :: BitOr for TRACK_POPUP_MENU_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TRACK_POPUP_MENU_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TRACK_POPUP_MENU_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TRACK_POPUP_MENU_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const TT_OPENTYPE_FONTTYPE : u32 = 131072u32 ; pub const TYPE1_FONTTYPE : 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 TileWindows_wHowFlags ( pub u32 ) ; impl TileWindows_wHowFlags { pub const MDITILE_HORIZONTAL : Self = Self ( 1u32 ) ; pub const MDITILE_VERTICAL : Self = Self ( 0u32 ) ; } impl :: std :: convert :: From < u32 > for TileWindows_wHowFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TileWindows_wHowFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for TileWindows_wHowFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TileWindows_wHowFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TileWindows_wHowFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TileWindows_wHowFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn TileWindows < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndparent : T0__ , whow : TileWindows_wHowFlags , lprect : * const super :: DisplayDevices :: RECT , ckids : u32 , lpkids : * const HWND , ) -> u16 { panic ! ( "Unsupported target OS" ) ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TouchPredictionParameters { pub cbSize : u32 , pub dwLatency : u32 , pub dwSampleTime : u32 , pub bUseHWTimeStamp : u32 } impl TouchPredictionParameters { } impl :: std :: default :: Default for TouchPredictionParameters { fn default ( ) -> Self { Self { cbSize : 0 , dwLatency : 0 , dwSampleTime : 0 , bUseHWTimeStamp : 0 } } } impl :: std :: fmt :: Debug for TouchPredictionParameters { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TouchPredictionParameters" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "dwLatency" , & format_args ! ( "{:?}" , self . dwLatency ) ) . field ( "dwSampleTime" , & format_args ! ( "{:?}" , self . dwSampleTime ) ) . field ( "bUseHWTimeStamp" , & format_args ! ( "{:?}" , self . bUseHWTimeStamp ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TouchPredictionParameters { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . dwLatency == other . dwLatency && self . dwSampleTime == other . dwSampleTime && self . bUseHWTimeStamp == other . bUseHWTimeStamp } } impl :: std :: cmp :: Eq for TouchPredictionParameters { } unsafe impl :: windows :: Abi for TouchPredictionParameters { type Abi = Self ; } pub unsafe fn TrackPopupMenu < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T5__ : :: windows :: IntoParam < 'a , HWND > , > ( hmenu : T0__ , uflags : TRACK_POPUP_MENU_FLAGS , x : i32 , y : i32 , nreserved : i32 , hwnd : T5__ , prcrect : * const super :: DisplayDevices :: RECT , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TrackPopupMenuEx < 'a , T0__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HMENU > , T4__ : :: windows :: IntoParam < 'a , HWND > , > ( hmenu : T0__ , uflags : u32 , x : i32 , y : i32 , hwnd : T4__ , lptpm : * mut TPMPARAMS , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateAcceleratorA < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( hwnd : T0__ , hacctable : T1__ , lpmsg : * mut MSG , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateAcceleratorW < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: MenusAndResources :: HACCEL > , > ( hwnd : T0__ , hacctable : T1__ , lpmsg : * mut MSG , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateMDISysAccel < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwndclient : T0__ , lpmsg : * mut MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn TranslateMessage < > ( lpmsg : * const MSG , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const UISF_ACTIVE : u32 = 4u32 ; pub const UISF_HIDEACCEL : u32 = 2u32 ; pub const UISF_HIDEFOCUS : u32 = 1u32 ; pub const UIS_CLEAR : u32 = 2u32 ; pub const UIS_INITIALIZE : u32 = 3u32 ; pub const UIS_SET : u32 = 1u32 ; pub const UNICODE_NOCHAR : u32 = 65535u32 ; pub const UOI_TIMERPROC_EXCEPTION_SUPPRESSION : u32 = 7u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct UpdateLayeredWindow_dwFlags ( pub u32 ) ; impl UpdateLayeredWindow_dwFlags { pub const ULW_ALPHA : Self = Self ( 2u32 ) ; pub const ULW_COLORKEY : Self = Self ( 1u32 ) ; pub const ULW_OPAQUE : Self = Self ( 4u32 ) ; pub const ULW_EX_NORESIZE : Self = Self ( 8u32 ) ; } impl :: std :: convert :: From < u32 > for UpdateLayeredWindow_dwFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UpdateLayeredWindow_dwFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for UpdateLayeredWindow_dwFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for UpdateLayeredWindow_dwFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for UpdateLayeredWindow_dwFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for UpdateLayeredWindow_dwFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct UPDATELAYEREDWINDOWINFO { pub cbSize : u32 , pub hdcDst : super :: Gdi :: HDC , pub pptDst : * mut super :: DisplayDevices :: POINT , pub psize : * mut super :: DisplayDevices :: SIZE , pub hdcSrc : super :: Gdi :: HDC , pub pptSrc : * mut super :: DisplayDevices :: POINT , pub crKey : u32 , pub pblend : * mut super :: Gdi :: BLENDFUNCTION , pub dwFlags : UpdateLayeredWindow_dwFlags , pub prcDirty : * mut super :: DisplayDevices :: RECT } impl UPDATELAYEREDWINDOWINFO { } impl :: std :: default :: Default for UPDATELAYEREDWINDOWINFO { fn default ( ) -> Self { Self { cbSize : 0 , hdcDst : :: std :: default :: Default :: default ( ) , pptDst : :: std :: ptr :: null_mut ( ) , psize : :: std :: ptr :: null_mut ( ) , hdcSrc : :: std :: default :: Default :: default ( ) , pptSrc : :: std :: ptr :: null_mut ( ) , crKey : 0 , pblend : :: std :: ptr :: null_mut ( ) , dwFlags : :: std :: default :: Default :: default ( ) , prcDirty : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for UPDATELAYEREDWINDOWINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UPDATELAYEREDWINDOWINFO" ) . field ( "cbSize" , & format_args ! ( "{:?}" , self . cbSize ) ) . field ( "hdcDst" , & format_args ! ( "{:?}" , self . hdcDst ) ) . field ( "pptDst" , & format_args ! ( "{:?}" , self . pptDst ) ) . field ( "psize" , & format_args ! ( "{:?}" , self . psize ) ) . field ( "hdcSrc" , & format_args ! ( "{:?}" , self . hdcSrc ) ) . field ( "pptSrc" , & format_args ! ( "{:?}" , self . pptSrc ) ) . field ( "crKey" , & format_args ! ( "{:?}" , self . crKey ) ) . field ( "pblend" , & format_args ! ( "{:?}" , self . pblend ) ) . field ( "dwFlags" , & format_args ! ( "{:?}" , self . dwFlags ) ) . field ( "prcDirty" , & format_args ! ( "{:?}" , self . prcDirty ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UPDATELAYEREDWINDOWINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . hdcDst == other . hdcDst && self . pptDst == other . pptDst && self . psize == other . psize && self . hdcSrc == other . hdcSrc && self . pptSrc == other . pptSrc && self . crKey == other . crKey && self . pblend == other . pblend && self . dwFlags == other . dwFlags && self . prcDirty == other . prcDirty } } impl :: std :: cmp :: Eq for UPDATELAYEREDWINDOWINFO { } unsafe impl :: windows :: Abi for UPDATELAYEREDWINDOWINFO { type Abi = Self ; } pub const USER_DEFAULT_SCREEN_DPI : u32 = 96u32 ; pub const USER_TIMER_MAXIMUM : u32 = 2147483647u32 ; pub const USER_TIMER_MINIMUM : u32 = 10u32 ; pub unsafe fn UnhookWindowsHook < > ( ncode : i32 , pfnfilterproc : :: std :: option :: Option < HOOKPROC > , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnhookWindowsHookEx < 'a , T0__ : :: windows :: IntoParam < 'a , HHOOK > , > ( hhk : T0__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterClassA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( lpclassname : T0__ , hinstance : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterClassW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HINSTANCE > , > ( lpclassname : T0__ , hinstance : T1__ , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateLayeredWindow < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , T1__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , T4__ : :: windows :: IntoParam < 'a , super :: Gdi :: HDC > , > ( hwnd : T0__ , hdcdst : T1__ , pptdst : * mut super :: DisplayDevices :: POINT , psize : * mut super :: DisplayDevices :: SIZE , hdcsrc : T4__ , pptsrc : * mut super :: DisplayDevices :: POINT , crkey : u32 , pblend : * mut super :: Gdi :: BLENDFUNCTION , dwflags : UpdateLayeredWindow_dwFlags , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateLayeredWindowIndirect < 'a , T0__ : :: windows :: IntoParam < 'a , HWND > , > ( hwnd : T0__ , pulwinfo : * const UPDATELAYEREDWINDOWINFO , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateResourceA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( hupdate : T0__ , lptype : T1__ , lpname : T2__ , wlanguage : u16 , lpdata : * mut :: std :: ffi :: c_void , cb : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateResourceW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: HANDLE > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( hupdate : T0__ , lptype : T1__ , lpname : T2__ , wlanguage : u16 , lpdata : * mut :: std :: ffi :: c_void , cb : u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const VK_ACCEPT : u32 = 30u32 ; pub const VK_ADD : u32 = 107u32 ; pub const VK_APPS : u32 = 93u32 ; pub const VK_ATTN : u32 = 246u32 ; pub const VK_BACK : u32 = 8u32 ; pub const VK_BROWSER_BACK : u32 = 166u32 ; pub const VK_BROWSER_FAVORITES : u32 = 171u32 ; pub const VK_BROWSER_FORWARD : u32 = 167u32 ; pub const VK_BROWSER_HOME : u32 = 172u32 ; pub const VK_BROWSER_REFRESH : u32 = 168u32 ; pub const VK_BROWSER_SEARCH : u32 = 170u32 ; pub const VK_BROWSER_STOP : u32 = 169u32 ; pub const VK_CANCEL : u32 = 3u32 ; pub const VK_CAPITAL : u32 = 20u32 ; pub const VK_CLEAR : u32 = 12u32 ; pub const VK_CONTROL : u32 = 17u32 ; pub const VK_CONVERT : u32 = 28u32 ; pub const VK_CRSEL : u32 = 247u32 ; pub const VK_DECIMAL : u32 = 110u32 ; pub const VK_DELETE : u32 = 46u32 ; pub const VK_DIVIDE : u32 = 111u32 ; pub const VK_DOWN : u32 = 40u32 ; pub const VK_END : u32 = 35u32 ; pub const VK_EREOF : u32 = 249u32 ; pub const VK_ESCAPE : u32 = 27u32 ; pub const VK_EXECUTE : u32 = 43u32 ; pub const VK_EXSEL : u32 = 248u32 ; pub const VK_F1 : u32 = 112u32 ; pub const VK_F10 : u32 = 121u32 ; pub const VK_F11 : u32 = 122u32 ; pub const VK_F12 : u32 = 123u32 ; pub const VK_F13 : u32 = 124u32 ; pub const VK_F14 : u32 = 125u32 ; pub const VK_F15 : u32 = 126u32 ; pub const VK_F16 : u32 = 127u32 ; pub const VK_F17 : u32 = 128u32 ; pub const VK_F18 : u32 = 129u32 ; pub const VK_F19 : u32 = 130u32 ; pub const VK_F2 : u32 = 113u32 ; pub const VK_F20 : u32 = 131u32 ; pub const VK_F21 : u32 = 132u32 ; pub const VK_F22 : u32 = 133u32 ; pub const VK_F23 : u32 = 134u32 ; pub const VK_F24 : u32 = 135u32 ; pub const VK_F3 : u32 = 114u32 ; pub const VK_F4 : u32 = 115u32 ; pub const VK_F5 : u32 = 116u32 ; pub const VK_F6 : u32 = 117u32 ; pub const VK_F7 : u32 = 118u32 ; pub const VK_F8 : u32 = 119u32 ; pub const VK_F9 : u32 = 120u32 ; pub const VK_FINAL : u32 = 24u32 ; pub const VK_GAMEPAD_A : u32 = 195u32 ; pub const VK_GAMEPAD_B : u32 = 196u32 ; pub const VK_GAMEPAD_DPAD_DOWN : u32 = 204u32 ; pub const VK_GAMEPAD_DPAD_LEFT : u32 = 205u32 ; pub const VK_GAMEPAD_DPAD_RIGHT : u32 = 206u32 ; pub const VK_GAMEPAD_DPAD_UP : u32 = 203u32 ; pub const VK_GAMEPAD_LEFT_SHOULDER : u32 = 200u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_BUTTON : u32 = 209u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_DOWN : u32 = 212u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_LEFT : u32 = 214u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_RIGHT : u32 = 213u32 ; pub const VK_GAMEPAD_LEFT_THUMBSTICK_UP : u32 = 211u32 ; pub const VK_GAMEPAD_LEFT_TRIGGER : u32 = 201u32 ; pub const VK_GAMEPAD_MENU : u32 = 207u32 ; pub const VK_GAMEPAD_RIGHT_SHOULDER : u32 = 199u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_BUTTON : u32 = 210u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_DOWN : u32 = 216u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_LEFT : u32 = 218u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_RIGHT : u32 = 217u32 ; pub const VK_GAMEPAD_RIGHT_THUMBSTICK_UP : u32 = 215u32 ; pub const VK_GAMEPAD_RIGHT_TRIGGER : u32 = 202u32 ; pub const VK_GAMEPAD_VIEW : u32 = 208u32 ; pub const VK_GAMEPAD_X : u32 = 197u32 ; pub const VK_GAMEPAD_Y : u32 = 198u32 ; pub const VK_HANGEUL : u32 = 21u32 ; pub const VK_HANGUL : u32 = 21u32 ; pub const VK_HANJA : u32 = 25u32 ; pub const VK_HELP : u32 = 47u32 ; pub const VK_HOME : u32 = 36u32 ; pub const VK_ICO_00 : u32 = 228u32 ; pub const VK_ICO_CLEAR : u32 = 230u32 ; pub const VK_ICO_HELP : u32 = 227u32 ; pub const VK_INSERT : u32 = 45u32 ; pub const VK_JUNJA : u32 = 23u32 ; pub const VK_KANA : u32 = 21u32 ; pub const VK_KANJI : u32 = 25u32 ; pub const VK_LAUNCH_APP1 : u32 = 182u32 ; pub const VK_LAUNCH_APP2 : u32 = 183u32 ; pub const VK_LAUNCH_MAIL : u32 = 180u32 ; pub const VK_LAUNCH_MEDIA_SELECT : u32 = 181u32 ; pub const VK_LBUTTON : u32 = 1u32 ; pub const VK_LCONTROL : u32 = 162u32 ; pub const VK_LEFT : u32 = 37u32 ; pub const VK_LMENU : u32 = 164u32 ; pub const VK_LSHIFT : u32 = 160u32 ; pub const VK_LWIN : u32 = 91u32 ; pub const VK_MBUTTON : u32 = 4u32 ; pub const VK_MEDIA_NEXT_TRACK : u32 = 176u32 ; pub const VK_MEDIA_PLAY_PAUSE : u32 = 179u32 ; pub const VK_MEDIA_PREV_TRACK : u32 = 177u32 ; pub const VK_MEDIA_STOP : u32 = 178u32 ; pub const VK_MENU : u32 = 18u32 ; pub const VK_MODECHANGE : u32 = 31u32 ; pub const VK_MULTIPLY : u32 = 106u32 ; pub const VK_NAVIGATION_ACCEPT : u32 = 142u32 ; pub const VK_NAVIGATION_CANCEL : u32 = 143u32 ; pub const VK_NAVIGATION_DOWN : u32 = 139u32 ; pub const VK_NAVIGATION_LEFT : u32 = 140u32 ; pub const VK_NAVIGATION_MENU : u32 = 137u32 ; pub const VK_NAVIGATION_RIGHT : u32 = 141u32 ; pub const VK_NAVIGATION_UP : u32 = 138u32 ; pub const VK_NAVIGATION_VIEW : u32 = 136u32 ; pub const VK_NEXT : u32 = 34u32 ; pub const VK_NONAME : u32 = 252u32 ; pub const VK_NONCONVERT : u32 = 29u32 ; pub const VK_NUMLOCK : u32 = 144u32 ; pub const VK_NUMPAD0 : u32 = 96u32 ; pub const VK_NUMPAD1 : u32 = 97u32 ; pub const VK_NUMPAD2 : u32 = 98u32 ; pub const VK_NUMPAD3 : u32 = 99u32 ; pub const VK_NUMPAD4 : u32 = 100u32 ; pub const VK_NUMPAD5 : u32 = 101u32 ; pub const VK_NUMPAD6 : u32 = 102u32 ; pub const VK_NUMPAD7 : u32 = 103u32 ; pub const VK_NUMPAD8 : u32 = 104u32 ; pub const VK_NUMPAD9 : u32 = 105u32 ; pub const VK_OEM_1 : u32 = 186u32 ; pub const VK_OEM_102 : u32 = 226u32 ; pub const VK_OEM_2 : u32 = 191u32 ; pub const VK_OEM_3 : u32 = 192u32 ; pub const VK_OEM_4 : u32 = 219u32 ; pub const VK_OEM_5 : u32 = 220u32 ; pub const VK_OEM_6 : u32 = 221u32 ; pub const VK_OEM_7 : u32 = 222u32 ; pub const VK_OEM_8 : u32 = 223u32 ; pub const VK_OEM_ATTN : u32 = 240u32 ; pub const VK_OEM_AUTO : u32 = 243u32 ; pub const VK_OEM_AX : u32 = 225u32 ; pub const VK_OEM_BACKTAB : u32 = 245u32 ; pub const VK_OEM_CLEAR : u32 = 254u32 ; pub const VK_OEM_COMMA : u32 = 188u32 ; pub const VK_OEM_COPY : u32 = 242u32 ; pub const VK_OEM_CUSEL : u32 = 239u32 ; pub const VK_OEM_ENLW : u32 = 244u32 ; pub const VK_OEM_FINISH : u32 = 241u32 ; pub const VK_OEM_FJ_JISHO : u32 = 146u32 ; pub const VK_OEM_FJ_LOYA : u32 = 149u32 ; pub const VK_OEM_FJ_MASSHOU : u32 = 147u32 ; pub const VK_OEM_FJ_ROYA : u32 = 150u32 ; pub const VK_OEM_FJ_TOUROKU : u32 = 148u32 ; pub const VK_OEM_JUMP : u32 = 234u32 ; pub const VK_OEM_MINUS : u32 = 189u32 ; pub const VK_OEM_NEC_EQUAL : u32 = 146u32 ; pub const VK_OEM_PA1 : u32 = 235u32 ; pub const VK_OEM_PA2 : u32 = 236u32 ; pub const VK_OEM_PA3 : u32 = 237u32 ; pub const VK_OEM_PERIOD : u32 = 190u32 ; pub const VK_OEM_PLUS : u32 = 187u32 ; pub const VK_OEM_RESET : u32 = 233u32 ; pub const VK_OEM_WSCTRL : u32 = 238u32 ; pub const VK_PA1 : u32 = 253u32 ; pub const VK_PACKET : u32 = 231u32 ; pub const VK_PAUSE : u32 = 19u32 ; pub const VK_PLAY : u32 = 250u32 ; pub const VK_PRINT : u32 = 42u32 ; pub const VK_PRIOR : u32 = 33u32 ; pub const VK_PROCESSKEY : u32 = 229u32 ; pub const VK_RBUTTON : u32 = 2u32 ; pub const VK_RCONTROL : u32 = 163u32 ; pub const VK_RETURN : u32 = 13u32 ; pub const VK_RIGHT : u32 = 39u32 ; pub const VK_RMENU : u32 = 165u32 ; pub const VK_RSHIFT : u32 = 161u32 ; pub const VK_RWIN : u32 = 92u32 ; pub const VK_SCROLL : u32 = 145u32 ; pub const VK_SELECT : u32 = 41u32 ; pub const VK_SEPARATOR : u32 = 108u32 ; pub const VK_SHIFT : u32 = 16u32 ; pub const VK_SLEEP : u32 = 95u32 ; pub const VK_SNAPSHOT : u32 = 44u32 ; pub const VK_SPACE : u32 = 32u32 ; pub const VK_SUBTRACT : u32 = 109u32 ; pub const VK_TAB : u32 = 9u32 ; pub const VK_UP : u32 = 38u32 ; pub const VK_VOLUME_DOWN : u32 = 174u32 ; pub const VK_VOLUME_MUTE : u32 = 173u32 ; pub const VK_VOLUME_UP : u32 = 175u32 ; pub const VK_XBUTTON1 : u32 = 5u32 ; pub const VK_XBUTTON2 : u32 = 6u32 ; pub const VK_ZOOM : u32 = 251u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFOFlags ( pub u32 ) ; impl VS_FIXEDFILEINFOFlags { pub const VS_FF_DEBUG : Self = Self ( 1u32 ) ; pub const VS_FF_INFOINFERRED : Self = Self ( 16u32 ) ; pub const VS_FF_PATCHED : Self = Self ( 4u32 ) ; pub const VS_FF_PRERELEASE : Self = Self ( 2u32 ) ; pub const VS_FF_PRIVATEBUILD : Self = Self ( 8u32 ) ; pub const VS_FF_SPECIALBUILD : Self = Self ( 32u32 ) ; } impl :: std :: convert :: From < u32 > for VS_FIXEDFILEINFOFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFOFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for VS_FIXEDFILEINFOFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VS_FIXEDFILEINFOFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VS_FIXEDFILEINFOFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VS_FIXEDFILEINFOFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileOSFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileOSFlags { pub const VOS_DOS : Self = Self ( 65536i32 ) ; pub const VOS_NT : Self = Self ( 262144i32 ) ; pub const VOS__WINDOWS16 : Self = Self ( 1i32 ) ; pub const VOS__WINDOWS32 : Self = Self ( 4i32 ) ; pub const VOS_OS216 : Self = Self ( 131072i32 ) ; pub const VOS_OS232 : Self = Self ( 196608i32 ) ; pub const VOS__PM16 : Self = Self ( 2i32 ) ; pub const VOS__PM32 : Self = Self ( 3i32 ) ; pub const VOS_UNKNOWN : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileOSFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileOSFlags { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileTypeFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileTypeFlags { pub const VFT_APP : Self = Self ( 1i32 ) ; pub const VFT_DLL : Self = Self ( 2i32 ) ; pub const VFT_DRV : Self = Self ( 3i32 ) ; pub const VFT_FONT : Self = Self ( 4i32 ) ; pub const VFT_STATIC_LIB : Self = Self ( 7i32 ) ; pub const VFT_UNKNOWN : Self = Self ( 0i32 ) ; pub const VFT_VXD : Self = Self ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileTypeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileTypeFlags { type Abi = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_dwFileSubtypeFlags ( pub i32 ) ; impl VS_FIXEDFILEINFO_dwFileSubtypeFlags { pub const VFT2_DRV_COMM : Self = Self ( 10i32 ) ; pub const VFT2_DRV_DISPLAY : Self = Self ( 4i32 ) ; pub const VFT2_DRV_INSTALLABLE : Self = Self ( 8i32 ) ; pub const VFT2_DRV_KEYBOARD : Self = Self ( 2i32 ) ; pub const VFT2_DRV_LANGUAGE : Self = Self ( 3i32 ) ; pub const VFT2_DRV_MOUSE : Self = Self ( 5i32 ) ; pub const VFT2_DRV_NETWORK : Self = Self ( 6i32 ) ; pub const VFT2_DRV_PRINTER : Self = Self ( 1i32 ) ; pub const VFT2_DRV_SOUND : Self = Self ( 9i32 ) ; pub const VFT2_DRV_SYSTEM : Self = Self ( 7i32 ) ; pub const VFT2_DRV_VERSIONED_PRINTER : Self = Self ( 12i32 ) ; pub const VFT2_UNKNOWN : Self = Self ( 0i32 ) ; } impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_dwFileSubtypeFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_dwFileSubtypeFlags { type Abi = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VS_FIXEDFILEINFO { pub dwSignature : u32 , pub dwStrucVersion : u32 , pub dwFileVersionMS : u32 , pub dwFileVersionLS : u32 , pub dwProductVersionMS : u32 , pub dwProductVersionLS : u32 , pub dwFileFlagsMask : u32 , pub dwFileFlags : VS_FIXEDFILEINFOFlags , pub dwFileOS : VS_FIXEDFILEINFO_dwFileOSFlags , pub dwFileType : VS_FIXEDFILEINFO_dwFileTypeFlags , pub dwFileSubtype : VS_FIXEDFILEINFO_dwFileSubtypeFlags , pub dwFileDateMS : u32 , pub dwFileDateLS : u32 } impl VS_FIXEDFILEINFO { } impl :: std :: default :: Default for VS_FIXEDFILEINFO { fn default ( ) -> Self { Self { dwSignature : 0 , dwStrucVersion : 0 , dwFileVersionMS : 0 , dwFileVersionLS : 0 , dwProductVersionMS : 0 , dwProductVersionLS : 0 , dwFileFlagsMask : 0 , dwFileFlags : :: std :: default :: Default :: default ( ) , dwFileOS : :: std :: default :: Default :: default ( ) , dwFileType : :: std :: default :: Default :: default ( ) , dwFileSubtype : :: std :: default :: Default :: default ( ) , dwFileDateMS : 0 , dwFileDateLS : 0 } } } impl :: std :: fmt :: Debug for VS_FIXEDFILEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VS_FIXEDFILEINFO" ) . field ( "dwSignature" , & format_args ! ( "{:?}" , self . dwSignature ) ) . field ( "dwStrucVersion" , & format_args ! ( "{:?}" , self . dwStrucVersion ) ) . field ( "dwFileVersionMS" , & format_args ! ( "{:?}" , self . dwFileVersionMS ) ) . field ( "dwFileVersionLS" , & format_args ! ( "{:?}" , self . dwFileVersionLS ) ) . field ( "dwProductVersionMS" , & format_args ! ( "{:?}" , self . dwProductVersionMS ) ) . field ( "dwProductVersionLS" , & format_args ! ( "{:?}" , self . dwProductVersionLS ) ) . field ( "dwFileFlagsMask" , & format_args ! ( "{:?}" , self . dwFileFlagsMask ) ) . field ( "dwFileFlags" , & format_args ! ( "{:?}" , self . dwFileFlags ) ) . field ( "dwFileOS" , & format_args ! ( "{:?}" , self . dwFileOS ) ) . field ( "dwFileType" , & format_args ! ( "{:?}" , self . dwFileType ) ) . field ( "dwFileSubtype" , & format_args ! ( "{:?}" , self . dwFileSubtype ) ) . field ( "dwFileDateMS" , & format_args ! ( "{:?}" , self . dwFileDateMS ) ) . field ( "dwFileDateLS" , & format_args ! ( "{:?}" , self . dwFileDateLS ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VS_FIXEDFILEINFO { fn eq ( & self , other : & Self ) -> bool { self . dwSignature == other . dwSignature && self . dwStrucVersion == other . dwStrucVersion && self . dwFileVersionMS == other . dwFileVersionMS && self . dwFileVersionLS == other . dwFileVersionLS && self . dwProductVersionMS == other . dwProductVersionMS && self . dwProductVersionLS == other . dwProductVersionLS && self . dwFileFlagsMask == other . dwFileFlagsMask && self . dwFileFlags == other . dwFileFlags && self . dwFileOS == other . dwFileOS && self . dwFileType == other . dwFileType && self . dwFileSubtype == other . dwFileSubtype && self . dwFileDateMS == other . dwFileDateMS && self . dwFileDateLS == other . dwFileDateLS } } impl :: std :: cmp :: Eq for VS_FIXEDFILEINFO { } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO { type Abi = Self ; } pub unsafe fn VerFindFileA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( uflags : u32 , szfilename : T1__ , szwindir : T2__ , szappdir : T3__ , szcurdir : super :: SystemServices :: PSTR , pucurdirlen : * mut u32 , szdestdir : super :: SystemServices :: PSTR , pudestdirlen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerFindFileW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( uflags : u32 , szfilename : T1__ , szwindir : T2__ , szappdir : T3__ , szcurdir : super :: SystemServices :: PWSTR , pucurdirlen : * mut u32 , szdestdir : super :: SystemServices :: PWSTR , pudestdirlen : * mut u32 , ) -> u32 { panic ! ( "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 VerInstallFile_uFlags ( pub u32 ) ; impl VerInstallFile_uFlags { pub const VIFF_FORCEINSTALL : Self = Self ( 1u32 ) ; pub const VIFF_DONTDELETEOLD : Self = Self ( 2u32 ) ; } impl :: std :: convert :: From < u32 > for VerInstallFile_uFlags { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VerInstallFile_uFlags { type Abi = Self ; } impl :: std :: ops :: BitOr for VerInstallFile_uFlags { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VerInstallFile_uFlags { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VerInstallFile_uFlags { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VerInstallFile_uFlags { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn VerInstallFileA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( uflags : VerInstallFile_uFlags , szsrcfilename : T1__ , szdestfilename : T2__ , szsrcdir : T3__ , szdestdir : T4__ , szcurdir : T5__ , sztmpfile : super :: SystemServices :: PSTR , putmpfilelen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerInstallFileW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T2__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T3__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T4__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T5__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( uflags : VerInstallFile_uFlags , szsrcfilename : T1__ , szdestfilename : T2__ , szsrcdir : T3__ , szdestdir : T4__ , szcurdir : T5__ , sztmpfile : super :: SystemServices :: PWSTR , putmpfilelen : * mut u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameA < > ( wlang : u32 , szlang : super :: SystemServices :: PSTR , cchlang : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameW < > ( wlang : u32 , szlang : super :: SystemServices :: PWSTR , cchlang : u32 , ) -> u32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : T1__ , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : T1__ , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub const WA_ACTIVE : u32 = 1u32 ; pub const WA_CLICKACTIVE : u32 = 2u32 ; pub const WA_INACTIVE : u32 = 0u32 ; pub const WHEEL_DELTA : u32 = 120u32 ; pub const WH_HARDWARE : u32 = 8u32 ; pub const WH_MAX : u32 = 14u32 ; pub const WH_MIN : i32 = -1i32 ; pub const WINEVENT_INCONTEXT : u32 = 4u32 ; pub const WINEVENT_OUTOFCONTEXT : u32 = 0u32 ; pub const WINEVENT_SKIPOWNPROCESS : u32 = 2u32 ; pub const WINEVENT_SKIPOWNTHREAD : u32 = 1u32 ; pub type WINSTAENUMPROCA = extern "system" fn ( param0 : super :: SystemServices :: PSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub type WINSTAENUMPROCW = extern "system" fn ( param0 : super :: SystemServices :: PWSTR , param1 : LPARAM ) -> super :: SystemServices :: BOOL ; pub const WINSTA_ACCESSCLIPBOARD : i32 = 4i32 ; pub const WINSTA_ACCESSGLOBALATOMS : i32 = 32i32 ; pub const WINSTA_CREATEDESKTOP : i32 = 8i32 ; pub const WINSTA_ENUMDESKTOPS : i32 = 1i32 ; pub const WINSTA_ENUMERATE : i32 = 256i32 ; pub const WINSTA_EXITWINDOWS : i32 = 64i32 ; pub const WINSTA_READATTRIBUTES : i32 = 2i32 ; pub const WINSTA_READSCREEN : i32 = 512i32 ; pub const WINSTA_WRITEATTRIBUTES : i32 = 16i32 ; pub const WMSZ_BOTTOM : u32 = 6u32 ; pub const WMSZ_BOTTOMLEFT : u32 = 7u32 ; pub const WMSZ_BOTTOMRIGHT : u32 = 8u32 ; pub const WMSZ_LEFT : u32 = 1u32 ; pub const WMSZ_RIGHT : u32 = 2u32 ; pub const WMSZ_TOP : u32 = 3u32 ; pub const WMSZ_TOPLEFT : u32 = 4u32 ; pub const WMSZ_TOPRIGHT : u32 = 5u32 ; pub const WM_ACTIVATE : u32 = 6u32 ; pub const WM_ACTIVATEAPP : u32 = 28u32 ; pub const WM_AFXFIRST : u32 = 864u32 ; pub const WM_AFXLAST : u32 = 895u32 ; pub const WM_APP : u32 = 32768u32 ; pub const WM_APPCOMMAND : u32 = 793u32 ; pub const WM_ASKCBFORMATNAME : u32 = 780u32 ; pub const WM_CANCELJOURNAL : u32 = 75u32 ; pub const WM_CANCELMODE : u32 = 31u32 ; pub const WM_CAPTURECHANGED : u32 = 533u32 ; pub const WM_CHANGECBCHAIN : u32 = 781u32 ; pub const WM_CHANGEUISTATE : u32 = 295u32 ; pub const WM_CHAR : u32 = 258u32 ; pub const WM_CHARTOITEM : u32 = 47u32 ; pub const WM_CHILDACTIVATE : u32 = 34u32 ; pub const WM_CHOOSEFONT_GETLOGFONT : u32 = 1025u32 ; pub const WM_CHOOSEFONT_SETFLAGS : u32 = 1126u32 ; pub const WM_CHOOSEFONT_SETLOGFONT : u32 = 1125u32 ; pub const WM_CLEAR : u32 = 771u32 ; pub const WM_CLIPBOARDUPDATE : u32 = 797u32 ; pub const WM_CLOSE : u32 = 16u32 ; pub const WM_COMMAND : u32 = 273u32 ; pub const WM_COMMNOTIFY : u32 = 68u32 ; pub const WM_COMPACTING : u32 = 65u32 ; pub const WM_COMPAREITEM : u32 = 57u32 ; pub const WM_COPY : u32 = 769u32 ; pub const WM_COPYDATA : u32 = 74u32 ; pub const WM_CREATE : u32 = 1u32 ; pub const WM_CTLCOLORBTN : u32 = 309u32 ; pub const WM_CTLCOLORDLG : u32 = 310u32 ; pub const WM_CTLCOLOREDIT : u32 = 307u32 ; pub const WM_CTLCOLORLISTBOX : u32 = 308u32 ; pub const WM_CTLCOLORMSGBOX : u32 = 306u32 ; pub const WM_CTLCOLORSCROLLBAR : u32 = 311u32 ; pub const WM_CTLCOLORSTATIC : u32 = 312u32 ; pub const WM_CUT : u32 = 768u32 ; pub const WM_DEADCHAR : u32 = 259u32 ; pub const WM_DELETEITEM : u32 = 45u32 ; pub const WM_DESTROY : u32 = 2u32 ; pub const WM_DESTROYCLIPBOARD : u32 = 775u32 ; pub const WM_DEVICECHANGE : u32 = 537u32 ; pub const WM_DEVMODECHANGE : u32 = 27u32 ; pub const WM_DISPLAYCHANGE : u32 = 126u32 ; pub const WM_DPICHANGED : u32 = 736u32 ; pub const WM_DPICHANGED_AFTERPARENT : u32 = 739u32 ; pub const WM_DPICHANGED_BEFOREPARENT : u32 = 738u32 ; pub const WM_DRAWCLIPBOARD : u32 = 776u32 ; pub const WM_DRAWITEM : u32 = 43u32 ; pub const WM_DROPFILES : u32 = 563u32 ; pub const WM_DWMCOLORIZATIONCOLORCHANGED : u32 = 800u32 ; pub const WM_DWMCOMPOSITIONCHANGED : u32 = 798u32 ; pub const WM_DWMNCRENDERINGCHANGED : u32 = 799u32 ; pub const WM_DWMSENDICONICLIVEPREVIEWBITMAP : u32 = 806u32 ; pub const WM_DWMSENDICONICTHUMBNAIL : u32 = 803u32 ; pub const WM_DWMWINDOWMAXIMIZEDCHANGE : u32 = 801u32 ; pub const WM_ENABLE : u32 = 10u32 ; pub const WM_ENDSESSION : u32 = 22u32 ; pub const WM_ENTERIDLE : u32 = 289u32 ; pub const WM_ENTERMENULOOP : u32 = 529u32 ; pub const WM_ENTERSIZEMOVE : u32 = 561u32 ; pub const WM_ERASEBKGND : u32 = 20u32 ; pub const WM_EXITMENULOOP : u32 = 530u32 ; pub const WM_EXITSIZEMOVE : u32 = 562u32 ; pub const WM_FONTCHANGE : u32 = 29u32 ; pub const WM_GESTURE : u32 = 281u32 ; pub const WM_GESTURENOTIFY : u32 = 282u32 ; pub const WM_GETDLGCODE : u32 = 135u32 ; pub const WM_GETDPISCALEDSIZE : u32 = 740u32 ; pub const WM_GETFONT : u32 = 49u32 ; pub const WM_GETHOTKEY : u32 = 51u32 ; pub const WM_GETICON : u32 = 127u32 ; pub const WM_GETMINMAXINFO : u32 = 36u32 ; pub const WM_GETOBJECT : u32 = 61u32 ; pub const WM_GETTEXT : u32 = 13u32 ; pub const WM_GETTEXTLENGTH : u32 = 14u32 ; pub const WM_GETTITLEBARINFOEX : u32 = 831u32 ; pub const WM_HANDHELDFIRST : u32 = 856u32 ; pub const WM_HANDHELDLAST : u32 = 863u32 ; pub const WM_HELP : u32 = 83u32 ; pub const WM_HOTKEY : u32 = 786u32 ; pub const WM_HSCROLL : u32 = 276u32 ; pub const WM_HSCROLLCLIPBOARD : u32 = 782u32 ; pub const WM_ICONERASEBKGND : u32 = 39u32 ; pub const WM_IME_CHAR : u32 = 646u32 ; pub const WM_IME_COMPOSITION : u32 = 271u32 ; pub const WM_IME_COMPOSITIONFULL : u32 = 644u32 ; pub const WM_IME_CONTROL : u32 = 643u32 ; pub const WM_IME_ENDCOMPOSITION : u32 = 270u32 ; pub const WM_IME_KEYDOWN : u32 = 656u32 ; pub const WM_IME_KEYLAST : u32 = 271u32 ; pub const WM_IME_KEYUP : u32 = 657u32 ; pub const WM_IME_NOTIFY : u32 = 642u32 ; pub const WM_IME_REQUEST : u32 = 648u32 ; pub const WM_IME_SELECT : u32 = 645u32 ; pub const WM_IME_SETCONTEXT : u32 = 641u32 ; pub const WM_IME_STARTCOMPOSITION : u32 = 269u32 ; pub const WM_INITDIALOG : u32 = 272u32 ; pub const WM_INITMENU : u32 = 278u32 ; pub const WM_INITMENUPOPUP : u32 = 279u32 ; pub const WM_INPUT : u32 = 255u32 ; pub const WM_INPUTLANGCHANGE : u32 = 81u32 ; pub const WM_INPUTLANGCHANGEREQUEST : u32 = 80u32 ; pub const WM_INPUT_DEVICE_CHANGE : u32 = 254u32 ; pub const WM_KEYDOWN : u32 = 256u32 ; pub const WM_KEYFIRST : u32 = 256u32 ; pub const WM_KEYLAST : u32 = 265u32 ; pub const WM_KEYUP : u32 = 257u32 ; pub const WM_KILLFOCUS : u32 = 8u32 ; pub const WM_LBUTTONDBLCLK : u32 = 515u32 ; pub const WM_LBUTTONDOWN : u32 = 513u32 ; pub const WM_LBUTTONUP : u32 = 514u32 ; pub const WM_MBUTTONDBLCLK : u32 = 521u32 ; pub const WM_MBUTTONDOWN : u32 = 519u32 ; pub const WM_MBUTTONUP : u32 = 520u32 ; pub const WM_MDIACTIVATE : u32 = 546u32 ; pub const WM_MDICASCADE : u32 = 551u32 ; pub const WM_MDICREATE : u32 = 544u32 ; pub const WM_MDIDESTROY : u32 = 545u32 ; pub const WM_MDIGETACTIVE : u32 = 553u32 ; pub const WM_MDIICONARRANGE : u32 = 552u32 ; pub const WM_MDIMAXIMIZE : u32 = 549u32 ; pub const WM_MDINEXT : u32 = 548u32 ; pub const WM_MDIREFRESHMENU : u32 = 564u32 ; pub const WM_MDIRESTORE : u32 = 547u32 ; pub const WM_MDISETMENU : u32 = 560u32 ; pub const WM_MDITILE : u32 = 550u32 ; pub const WM_MEASUREITEM : u32 = 44u32 ; pub const WM_MENUCHAR : u32 = 288u32 ; pub const WM_MENUCOMMAND : u32 = 294u32 ; pub const WM_MENUDRAG : u32 = 291u32 ; pub const WM_MENUGETOBJECT : u32 = 292u32 ; pub const WM_MENURBUTTONUP : u32 = 290u32 ; pub const WM_MENUSELECT : u32 = 287u32 ; pub const WM_MOUSEACTIVATE : u32 = 33u32 ; pub const WM_MOUSEFIRST : u32 = 512u32 ; pub const WM_MOUSEHWHEEL : u32 = 526u32 ; pub const WM_MOUSELAST : u32 = 526u32 ; pub const WM_MOUSEMOVE : u32 = 512u32 ; pub const WM_MOUSEWHEEL : u32 = 522u32 ; pub const WM_MOVE : u32 = 3u32 ; pub const WM_MOVING : u32 = 534u32 ; pub const WM_NCACTIVATE : u32 = 134u32 ; pub const WM_NCCALCSIZE : u32 = 131u32 ; pub const WM_NCCREATE : u32 = 129u32 ; pub const WM_NCDESTROY : u32 = 130u32 ; pub const WM_NCHITTEST : u32 = 132u32 ; pub const WM_NCLBUTTONDBLCLK : u32 = 163u32 ; pub const WM_NCLBUTTONDOWN : u32 = 161u32 ; pub const WM_NCLBUTTONUP : u32 = 162u32 ; pub const WM_NCMBUTTONDBLCLK : u32 = 169u32 ; pub const WM_NCMBUTTONDOWN : u32 = 167u32 ; pub const WM_NCMBUTTONUP : u32 = 168u32 ; pub const WM_NCMOUSEHOVER : u32 = 672u32 ; pub const WM_NCMOUSELEAVE : u32 = 674u32 ; pub const WM_NCMOUSEMOVE : u32 = 160u32 ; pub const WM_NCPAINT : u32 = 133u32 ; pub const WM_NCPOINTERDOWN : u32 = 578u32 ; pub const WM_NCPOINTERUP : u32 = 579u32 ; pub const WM_NCPOINTERUPDATE : u32 = 577u32 ; pub const WM_NCRBUTTONDBLCLK : u32 = 166u32 ; pub const WM_NCRBUTTONDOWN : u32 = 164u32 ; pub const WM_NCRBUTTONUP : u32 = 165u32 ; pub const WM_NCXBUTTONDBLCLK : u32 = 173u32 ; pub const WM_NCXBUTTONDOWN : u32 = 171u32 ; pub const WM_NCXBUTTONUP : u32 = 172u32 ; pub const WM_NEXTDLGCTL : u32 = 40u32 ; pub const WM_NEXTMENU : u32 = 531u32 ; pub const WM_NOTIFYFORMAT : u32 = 85u32 ; pub const WM_NULL : u32 = 0u32 ; pub const WM_PAINT : u32 = 15u32 ; pub const WM_PAINTCLIPBOARD : u32 = 777u32 ; pub const WM_PAINTICON : u32 = 38u32 ; pub const WM_PALETTECHANGED : u32 = 785u32 ; pub const WM_PALETTEISCHANGING : u32 = 784u32 ; pub const WM_PARENTNOTIFY : u32 = 528u32 ; pub const WM_PASTE : u32 = 770u32 ; pub const WM_PENWINFIRST : u32 = 896u32 ; pub const WM_PENWINLAST : u32 = 911u32 ; pub const WM_POINTERACTIVATE : u32 = 587u32 ; pub const WM_POINTERCAPTURECHANGED : u32 = 588u32 ; pub const WM_POINTERDEVICECHANGE : u32 = 568u32 ; pub const WM_POINTERDEVICEINRANGE : u32 = 569u32 ; pub const WM_POINTERDEVICEOUTOFRANGE : u32 = 570u32 ; pub const WM_POINTERDOWN : u32 = 582u32 ; pub const WM_POINTERENTER : u32 = 585u32 ; pub const WM_POINTERHWHEEL : u32 = 591u32 ; pub const WM_POINTERLEAVE : u32 = 586u32 ; pub const WM_POINTERROUTEDAWAY : u32 = 594u32 ; pub const WM_POINTERROUTEDRELEASED : u32 = 595u32 ; pub const WM_POINTERROUTEDTO : u32 = 593u32 ; pub const WM_POINTERUP : u32 = 583u32 ; pub const WM_POINTERUPDATE : u32 = 581u32 ; pub const WM_POINTERWHEEL : u32 = 590u32 ; pub const WM_POWER : u32 = 72u32 ; pub const WM_POWERBROADCAST : u32 = 536u32 ; pub const WM_PRINT : u32 = 791u32 ; pub const WM_PSD_ENVSTAMPRECT : u32 = 1029u32 ; pub const WM_PSD_FULLPAGERECT : u32 = 1025u32 ; pub const WM_PSD_GREEKTEXTRECT : u32 = 1028u32 ; pub const WM_PSD_MARGINRECT : u32 = 1027u32 ; pub const WM_PSD_MINMARGINRECT : u32 = 1026u32 ; pub const WM_PSD_YAFULLPAGERECT : u32 = 1030u32 ; pub const WM_QUERYDRAGICON : u32 = 55u32 ; pub const WM_QUERYENDSESSION : u32 = 17u32 ; pub const WM_QUERYNEWPALETTE : u32 = 783u32 ; pub const WM_QUERYOPEN : u32 = 19u32 ; pub const WM_QUERYUISTATE : u32 = 297u32 ; pub const WM_QUEUESYNC : u32 = 35u32 ; pub const WM_QUIT : u32 = 18u32 ; pub const WM_RBUTTONDBLCLK : u32 = 518u32 ; pub const WM_RBUTTONDOWN : u32 = 516u32 ; pub const WM_RBUTTONUP : u32 = 517u32 ; pub const WM_RENDERALLFORMATS : u32 = 774u32 ; pub const WM_RENDERFORMAT : u32 = 773u32 ; pub const WM_SETCURSOR : u32 = 32u32 ; pub const WM_SETFOCUS : u32 = 7u32 ; pub const WM_SETFONT : u32 = 48u32 ; pub const WM_SETHOTKEY : u32 = 50u32 ; pub const WM_SETICON : u32 = 128u32 ; pub const WM_SETREDRAW : u32 = 11u32 ; pub const WM_SETTEXT : u32 = 12u32 ; pub const WM_SHOWWINDOW : u32 = 24u32 ; pub const WM_SIZE : u32 = 5u32 ; pub const WM_SIZECLIPBOARD : u32 = 779u32 ; pub const WM_SIZING : u32 = 532u32 ; pub const WM_SPOOLERSTATUS : u32 = 42u32 ; pub const WM_STYLECHANGED : u32 = 125u32 ; pub const WM_STYLECHANGING : u32 = 124u32 ; pub const WM_SYNCPAINT : u32 = 136u32 ; pub const WM_SYSCHAR : u32 = 262u32 ; pub const WM_SYSCOLORCHANGE : u32 = 21u32 ; pub const WM_SYSCOMMAND : u32 = 274u32 ; pub const WM_SYSDEADCHAR : u32 = 263u32 ; pub const WM_SYSKEYDOWN : u32 = 260u32 ; pub const WM_SYSKEYUP : u32 = 261u32 ; pub const WM_TABLET_FIRST : u32 = 704u32 ; pub const WM_TABLET_LAST : u32 = 735u32 ; pub const WM_TCARD : u32 = 82u32 ; pub const WM_THEMECHANGED : u32 = 794u32 ; pub const WM_TIMECHANGE : u32 = 30u32 ; pub const WM_TIMER : u32 = 275u32 ; pub const WM_TOUCH : u32 = 576u32 ; pub const WM_TOUCHHITTESTING : u32 = 589u32 ; pub const WM_UNDO : u32 = 772u32 ; pub const WM_UNINITMENUPOPUP : u32 = 293u32 ; pub const WM_UPDATEUISTATE : u32 = 296u32 ; pub const WM_USER : u32 = 1024u32 ; pub const WM_USERCHANGED : u32 = 84u32 ; pub const WM_VKEYTOITEM : u32 = 46u32 ; pub const WM_VSCROLL : u32 = 277u32 ; pub const WM_VSCROLLCLIPBOARD : u32 = 778u32 ; pub const WM_WINDOWPOSCHANGED : u32 = 71u32 ; pub const WM_WINDOWPOSCHANGING : u32 = 70u32 ; pub const WM_WININICHANGE : u32 = 26u32 ; pub const WM_WTSSESSION_CHANGE : u32 = 689u32 ; pub const WM_XBUTTONDBLCLK : u32 = 525u32 ; pub const WM_XBUTTONDOWN : u32 = 523u32 ; pub const WM_XBUTTONUP : u32 = 524u32 ; pub const WSF_VISIBLE : i32 = 1i32 ; pub const WTS_CONSOLE_CONNECT : u32 = 1u32 ; pub const WTS_CONSOLE_DISCONNECT : u32 = 2u32 ; pub const WTS_REMOTE_CONNECT : u32 = 3u32 ; pub const WTS_REMOTE_DISCONNECT : u32 = 4u32 ; pub const WTS_SESSION_CREATE : u32 = 10u32 ; pub const WTS_SESSION_LOCK : u32 = 7u32 ; pub const WTS_SESSION_LOGOFF : u32 = 6u32 ; pub const WTS_SESSION_LOGON : u32 = 5u32 ; pub const WTS_SESSION_REMOTE_CONTROL : u32 = 9u32 ; pub const WTS_SESSION_TERMINATE : u32 = 11u32 ; pub const WTS_SESSION_UNLOCK : u32 = 8u32 ; pub const WVR_ALIGNBOTTOM : u32 = 64u32 ; pub const WVR_ALIGNLEFT : u32 = 32u32 ; pub const WVR_ALIGNRIGHT : u32 = 128u32 ; pub const WVR_ALIGNTOP : u32 = 16u32 ; pub const WVR_HREDRAW : u32 = 256u32 ; pub const WVR_VALIDRECTS : u32 = 1024u32 ; pub const WVR_VREDRAW : u32 = 512u32 ; pub unsafe fn WaitMessage < > ( ) -> super :: SystemServices :: BOOL { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromPhysicalPoint < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( point : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn WindowFromPoint < 'a , T0__ : :: windows :: IntoParam < 'a , super :: DisplayDevices :: POINT > , > ( point : T0__ , ) -> HWND { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcatA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcatW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpiA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcmpiW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : T0__ , lpstring2 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpyA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : super :: SystemServices :: PSTR , lpstring2 : T1__ , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpyW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : super :: SystemServices :: PWSTR , lpstring2 : T1__ , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpynA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring1 : super :: SystemServices :: PSTR , lpstring2 : T1__ , imaxlength : i32 , ) -> super :: SystemServices :: PSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrcpynW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring1 : super :: SystemServices :: PWSTR , lpstring2 : T1__ , imaxlength : i32 , ) -> super :: SystemServices :: PWSTR { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrlenA < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( lpstring : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn lstrlenW < 'a , T0__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( lpstring : T0__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wsprintfA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : super :: SystemServices :: PSTR , param1 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wsprintfW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : super :: SystemServices :: PWSTR , param1 : T1__ , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wvsprintfA < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PSTR > , > ( param0 : super :: SystemServices :: PSTR , param1 : T1__ , arglist : * mut i8 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } pub unsafe fn wvsprintfW < 'a , T1__ : :: windows :: IntoParam < 'a , super :: SystemServices :: PWSTR > , > ( param0 : super :: SystemServices :: PWSTR , param1 : T1__ , arglist : * mut i8 , ) -> i32 { panic ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsProgramming { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . dwLowDateTime ) ) . field ( "dwHighDateTime" , & format_args ! ( "{:?}" , 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 ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] 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" , & format_args ! ( "{:?}" , self . wYear ) ) . field ( "wMonth" , & format_args ! ( "{:?}" , self . wMonth ) ) . field ( "wDayOfWeek" , & format_args ! ( "{:?}" , self . wDayOfWeek ) ) . field ( "wDay" , & format_args ! ( "{:?}" , self . wDay ) ) . field ( "wHour" , & format_args ! ( "{:?}" , self . wHour ) ) . field ( "wMinute" , & format_args ! ( "{:?}" , self . wMinute ) ) . field ( "wSecond" , & format_args ! ( "{:?}" , self . wSecond ) ) . field ( "wMilliseconds" , & format_args ! ( "{:?}" , 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsStationsAndDesktops { # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct HDESK ( pub isize ) ; impl HDESK { } impl :: std :: default :: Default for HDESK { fn default ( ) -> Self { Self ( 0 ) } } impl :: std :: fmt :: Debug for HDESK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDESK" ) . field ( "Value" , & format_args ! ( "{:?}" , self .0 ) ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDESK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDESK { } unsafe impl :: windows :: Abi for HDESK { type Abi = Self ; } } } } [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/windows-webview2-8dfd0a65fa7dde2f/out/windows.rs:1:374104 [INFO] [stdout] | [INFO] [stdout] 1 | ...( * this ) . count . release ( ) ; if remaining == 0 { Box :: from_raw ( this ) ; } remaining } unsafe extern "system" fn Invoke ( thi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [WARN] too much data in the log, truncating it